mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-12 03:42:25 +00:00
Next step of Perl to C++ configuration layer conversion.
This commit is contained in:
1 parent
337f6c5808
commit
95c284c764
15 files changed
+414
-394
No files matched your search
@@ -16,6 +16,7 @@
|
||||
void load();
|
||||
void save();
|
||||
bool exists();
|
||||
bool dirty();
|
||||
|
||||
std::string get(char *name);
|
||||
void set(char *name, char *value);
|
||||
|
||||
@@ -19,8 +19,9 @@
|
||||
|
||||
bool loaded() %code%{ RETVAL = THIS->loaded; %};
|
||||
|
||||
Ref<DynamicPrintConfig> config_ref() %code%{ RETVAL = &THIS->config; %};
|
||||
Clone<DynamicPrintConfig> config() %code%{ RETVAL = &THIS->config; %};
|
||||
Ref<DynamicPrintConfig> config() %code%{ RETVAL = &THIS->config; %};
|
||||
|
||||
void set_num_extruders(int num_extruders);
|
||||
};
|
||||
|
||||
%name{Slic3r::GUI::PresetCollection} class PresetCollection {
|
||||
@@ -94,7 +95,9 @@ PresetCollection::presets_hash()
|
||||
|
||||
void setup_directories();
|
||||
void load_presets(const char *dir_path);
|
||||
void load_config_file(const char *path);
|
||||
size_t load_configbundle(const char *path);
|
||||
void export_configbundle(char *path);
|
||||
void set_default_suppressed(bool default_suppressed);
|
||||
|
||||
void load_selections (AppConfig *config) %code%{ THIS->load_selections(*config); %};
|
||||
|
||||
Reference in new issue
Block a user