verification of save path

This commit is contained in:
David Kocik 2019-12-16 17:15:27 +01:00
parent bfc9dda1f6
commit a029e689d8
3 changed files with 29 additions and 12 deletions

View file

@ -49,6 +49,7 @@ public:
void erase_callbacks();
// marks one of the eveices in vector as last used
void set_last_save_path(const std::string &path);
void verify_last_save_path();
bool is_last_drive_removed();
// param as update()
bool is_last_drive_removed_with_update(const long time = 0);
@ -70,10 +71,10 @@ private:
size_t m_drives_count;
long m_last_update;
std::string m_last_save_path;
bool m_last_save_path_verified;
std::string m_last_save_name;
bool m_is_writing;//on device
bool m_did_eject;
#if _WIN32
//registers for notifications by creating invisible window
void register_window();