mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-12-02 01:43:36 -05:00
button for exporting gcode to harddrive
This commit is contained in:
1 parent
b08788cf96
commit
7e97576e56
6 files changed
+74
-29
No files matched your search
@@ -503,7 +503,7 @@ void RemovableDriveManager::check_and_notify()
|
||||
}
|
||||
}
|
||||
}
|
||||
void RemovableDriveManager::add_callback(std::function<void()> callback)
|
||||
void RemovableDriveManager::add_remove_callback(std::function<void()> callback)
|
||||
{
|
||||
m_callbacks.push_back(callback);
|
||||
}
|
||||
@@ -587,4 +587,8 @@ void RemovableDriveManager::set_did_eject(const bool b)
|
||||
{
|
||||
m_did_eject = b;
|
||||
}
|
||||
size_t RemovableDriveManager::get_drives_count()
|
||||
{
|
||||
return m_current_drives.size();
|
||||
}
|
||||
}}//namespace Slicer::Gui
|
||||
Reference in new issue
Block a user