mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-18 11:02:08 +00:00
refactoring
This commit is contained in:
@@ -33,12 +33,13 @@ public:
|
||||
void add_callback(std::function<void()> callback);
|
||||
void print();
|
||||
private:
|
||||
RemovableDriveManager():m_drives_count(0){}
|
||||
RemovableDriveManager():m_drives_count(0),m_last_update(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;
|
||||
long m_last_update;
|
||||
#if _WIN32
|
||||
void register_window();
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user