Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kocik <kocikdav@gmail.com>2019-12-13 20:02:25 +0300
committerDavid Kocik <kocikdav@gmail.com>2019-12-13 20:02:25 +0300
commit5a26be1150314f2abd04229e3d69991436a679da (patch)
tree72fb34503310e196b83ac9002845c8b61bce59b4 /src/slic3r/GUI/RemovableDriveManager.hpp
parent81a2f8535af7e7bab692626456f2d0b7d11bd0cc (diff)
message box about succesful removal
Diffstat (limited to 'src/slic3r/GUI/RemovableDriveManager.hpp')
-rw-r--r--src/slic3r/GUI/RemovableDriveManager.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.hpp b/src/slic3r/GUI/RemovableDriveManager.hpp
index 25f6286d1..fc41fa351 100644
--- a/src/slic3r/GUI/RemovableDriveManager.hpp
+++ b/src/slic3r/GUI/RemovableDriveManager.hpp
@@ -37,6 +37,7 @@ public:
void eject_drive(const std::string &path);
//returns path to last drive which was used, if none was used, returns device that was enumerated last
std::string get_last_save_path();
+ std::string get_last_save_name();
//returns path to last drive which was used, if none was used, returns empty string
std::string get_drive_path();
std::vector<DriveData> get_all_drives();
@@ -50,6 +51,9 @@ public:
bool is_last_drive_removed();
// param as update()
bool is_last_drive_removed_with_update(const long time = 0);
+ void set_is_writing(const bool b);
+ bool get_is_writing();
+ std::string get_drive_name(const std::string& path);
private:
RemovableDriveManager();
void search_for_drives();
@@ -64,6 +68,8 @@ private:
size_t m_drives_count;
long m_last_update;
std::string m_last_save_path;
+ std::string m_last_save_name;
+ bool m_is_writing;//on device
#if _WIN32
//registers for notifications by creating invisible window