PresetUpdater: Notify about Slic3r updates
This commit is contained in:
parent
6286c9ee7c
commit
df03b8e4e8
11 changed files with 119 additions and 87 deletions
|
@ -43,5 +43,4 @@
|
|||
void update_last_output_dir(char *dir);
|
||||
|
||||
void reset_selections();
|
||||
bool slic3r_update_avail() const;
|
||||
};
|
||||
|
|
|
@ -117,14 +117,6 @@ PresetCollection::arrayref()
|
|||
croak("Loading of a config bundle %s failed:\n%s\n", path, e.what());
|
||||
}
|
||||
%};
|
||||
void install_vendor_configbundle(const char *path)
|
||||
%code%{
|
||||
try {
|
||||
THIS->install_vendor_configbundle(std::string(path));
|
||||
} catch (std::exception& e) {
|
||||
croak("Installing a vendor config bundle %s failed:\n%s\n", path, e.what());
|
||||
}
|
||||
%};
|
||||
void export_configbundle(char *path)
|
||||
%code%{
|
||||
try {
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
%}
|
||||
|
||||
%name{Slic3r::PresetUpdater} class PresetUpdater {
|
||||
PresetUpdater(int version_online_event, AppConfig *app_config);
|
||||
void sync(AppConfig *app_config, PresetBundle* preset_bundle);
|
||||
void config_update(AppConfig *app_config);
|
||||
PresetUpdater(int version_online_event);
|
||||
void sync(PresetBundle* preset_bundle);
|
||||
void slic3r_update_notify();
|
||||
void config_update();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue