mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
linux eject
This commit is contained in:
parent
17b146c0a3
commit
5db80edcd3
3 changed files with 20 additions and 13 deletions
|
@ -33,11 +33,12 @@ public:
|
|||
void add_callback(std::function<void()> callback);
|
||||
void print();
|
||||
private:
|
||||
RemovableDriveManager(){}
|
||||
RemovableDriveManager():m_drives_count(0){}
|
||||
void search_for_drives();
|
||||
void check_and_notify();
|
||||
std::vector<DriveData> m_current_drives;
|
||||
std::vector<std::function<void()>> m_callbacks;
|
||||
size_t m_drives_count;
|
||||
#if _WIN32
|
||||
void register_window();
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue