mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
refactoring
This commit is contained in:
parent
0a4b2331a1
commit
18be3ffb5f
2 changed files with 9 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue