mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
macos list devices
This commit is contained in:
parent
c3653589f6
commit
c37128ad63
4 changed files with 42 additions and 35 deletions
|
@ -39,7 +39,7 @@ public:
|
|||
void reset_last_save_path();
|
||||
void print();
|
||||
private:
|
||||
RemovableDriveManager():m_drives_count(0),m_last_update(0),m_last_save_path(""){}
|
||||
RemovableDriveManager():m_drives_count(0),m_last_update(0),m_last_save_path(""),m_rdmmm(nullptr){}
|
||||
void search_for_drives();
|
||||
void check_and_notify();
|
||||
std::string get_drive_from_path(const std::string& path);//returns drive path (same as path in DriveData) if exists otherwise empty string ""
|
||||
|
@ -54,7 +54,7 @@ private:
|
|||
#elif __APPLE__
|
||||
void *m_rdmmm;
|
||||
void register_window();
|
||||
//void list_devices();
|
||||
void list_devices();
|
||||
void search_path(const std::string &path, const std::string &parent_path);
|
||||
bool compare_filesystem_id(const std::string &path_a, const std::string &path_b);
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue