mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 15:51:10 -06:00
ConfigWizard: Basic structure / WIP
This commit is contained in:
parent
e37cbdfcfc
commit
3fcf194e39
23 changed files with 881 additions and 24 deletions
|
@ -54,6 +54,9 @@ int combochecklist_get_flags(SV *ui)
|
|||
void set_app_config(AppConfig *app_config)
|
||||
%code%{ Slic3r::GUI::set_app_config(app_config); %};
|
||||
|
||||
void open_config_wizard()
|
||||
%code%{ Slic3r::GUI::open_config_wizard(); %};
|
||||
|
||||
void open_preferences_dialog(int preferences_event)
|
||||
%code%{ Slic3r::GUI::open_preferences_dialog(preferences_event); %};
|
||||
|
||||
|
|
18
xs/xsp/Utils_PresetUpdate.xsp
Normal file
18
xs/xsp/Utils_PresetUpdate.xsp
Normal file
|
@ -0,0 +1,18 @@
|
|||
%module{Slic3r::XS};
|
||||
|
||||
%{
|
||||
#include <xsinit.h>
|
||||
#include "slic3r/Utils/PresetUpdate.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::PresetUpdater} class PresetUpdater {
|
||||
static void download(PresetBundle *preset_bundle);
|
||||
};
|
||||
|
||||
|
||||
# TODO: remove:
|
||||
|
||||
%package{Slic3r::Utils};
|
||||
|
||||
void preset_update_check()
|
||||
%code%{ Slic3r::Utils::preset_update_check(); %};
|
|
@ -235,6 +235,9 @@ PresetHints* O_OBJECT_SLIC3R
|
|||
Ref<PresetHints> O_OBJECT_SLIC3R_T
|
||||
TabIface* O_OBJECT_SLIC3R
|
||||
Ref<TabIface> O_OBJECT_SLIC3R_T
|
||||
# TODO: remove:
|
||||
# ConfigWizard* O_OBJECT_SLIC3R
|
||||
# Ref<ConfigWizard> O_OBJECT_SLIC3R_T
|
||||
|
||||
OctoPrint* O_OBJECT_SLIC3R
|
||||
Ref<OctoPrint> O_OBJECT_SLIC3R_T
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue