mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-12 01:07:57 -06:00
button for exporting gcode to harddrive
This commit is contained in:
parent
b08788cf96
commit
7e97576e56
6 changed files with 74 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue