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-06 15:21:44 +0300
committerDavid Kocik <kocikdav@gmail.com>2019-12-13 15:51:45 +0300
commitb386eb45dccc3d951940ed32e6cb6ff945dfa773 (patch)
tree13a7094691bf654ad20ad2f4e522da96c5fc696f /src/slic3r/GUI/RemovableDriveManager.hpp
parent6396ec571a0c70367c917efaf2b662b300a2723c (diff)
erase callbacks
Diffstat (limited to 'src/slic3r/GUI/RemovableDriveManager.hpp')
-rw-r--r--src/slic3r/GUI/RemovableDriveManager.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/slic3r/GUI/RemovableDriveManager.hpp b/src/slic3r/GUI/RemovableDriveManager.hpp
index 741b4424a..8d9e65c47 100644
--- a/src/slic3r/GUI/RemovableDriveManager.hpp
+++ b/src/slic3r/GUI/RemovableDriveManager.hpp
@@ -31,6 +31,7 @@ public:
std::vector<DriveData> get_all_drives();
bool is_path_on_removable_drive(const std::string &path);
void add_callback(std::function<void()> callback); // callback will notify only if device with last save path was removed
+ void erase_callbacks(); // erases all callbacks added by add_callback()
void set_last_save_path(const std::string &path);
bool is_last_drive_removed(); //if we dont need info about this drive, call reset_last_save_path();
bool is_last_drive_removed_with_update(const long time = 0); // param as update()