mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-24 09:11:23 -06:00
PresetUpdater: Notify about Slic3r updates
This commit is contained in:
parent
6286c9ee7c
commit
df03b8e4e8
11 changed files with 119 additions and 87 deletions
|
|
@ -13,16 +13,17 @@ class PresetBundle;
|
|||
class PresetUpdater
|
||||
{
|
||||
public:
|
||||
PresetUpdater(int version_online_event, AppConfig *app_config);
|
||||
PresetUpdater(int version_online_event);
|
||||
PresetUpdater(PresetUpdater &&) = delete;
|
||||
PresetUpdater(const PresetUpdater &) = delete;
|
||||
PresetUpdater &operator=(PresetUpdater &&) = delete;
|
||||
PresetUpdater &operator=(const PresetUpdater &) = delete;
|
||||
~PresetUpdater();
|
||||
|
||||
void sync(AppConfig *app_config, PresetBundle *preset_bundle);
|
||||
void config_update(AppConfig *app_config);
|
||||
void install_bundles_rsrc(AppConfig *app_config, std::vector<std::string> &&bundles);
|
||||
void sync(PresetBundle *preset_bundle);
|
||||
void slic3r_update_notify();
|
||||
void config_update() const;
|
||||
void install_bundles_rsrc(std::vector<std::string> &&bundles);
|
||||
private:
|
||||
struct priv;
|
||||
std::unique_ptr<priv> p;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue