removable drive manager bug fixes

This commit is contained in:
David Kocik 2020-01-21 10:23:50 +01:00
parent 2c1bedf503
commit 8cf2a97807
3 changed files with 39 additions and 9 deletions

View file

@ -64,6 +64,8 @@ public:
void set_did_eject(const bool b);
std::string get_drive_name(const std::string& path);
size_t get_drives_count();
std::string get_ejected_path();
std::string get_ejected_name();
private:
RemovableDriveManager();
void search_for_drives();
@ -84,6 +86,8 @@ private:
bool m_is_writing;//on device
bool m_did_eject;
bool m_plater_ready_to_slice;
std::string m_ejected_path;
std::string m_ejected_name;
#if _WIN32
//registers for notifications by creating invisible window
void register_window();