mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-12 03:42:25 +00:00
Split Preset.cpp,hpp to Preset.cpp,hpp and PresetBundle.cpp,hpp
This commit is contained in:
1 parent
1fee3633a0
commit
d564fc95df
8 files changed
+975
-658
No files matched your search
@@ -0,0 +1,29 @@
|
||||
|
||||
%module{Slic3r::XS};
|
||||
|
||||
%{
|
||||
#include <xsinit.h>
|
||||
#include "slic3r/GUI/AppConfig.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::GUI::AppConfig} class AppConfig {
|
||||
AppConfig();
|
||||
~AppConfig();
|
||||
|
||||
void reset();
|
||||
void set_defaults();
|
||||
|
||||
void load();
|
||||
void save();
|
||||
bool exists();
|
||||
|
||||
std::string get(char *name);
|
||||
void set(char *name, char *value);
|
||||
bool has(char *section);
|
||||
|
||||
std::string get_last_dir();
|
||||
void update_config_dir(char *dir);
|
||||
void update_skein_dir(char *dir);
|
||||
std::string get_last_output_dir(const char *alt = "");
|
||||
void update_last_output_dir(char *dir);
|
||||
};
|
||||
@@ -3,6 +3,7 @@
|
||||
%{
|
||||
#include <xsinit.h>
|
||||
#include "slic3r/GUI/Preset.hpp"
|
||||
#include "slic3r/GUI/PresetBundle.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::GUI::Preset} class Preset {
|
||||
|
||||
Reference in new issue
Block a user