mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-25 13:36:31 +01:00
Looks like the reworked C++ preferences start to work again.
This commit is contained in:
1 parent
95c284c764
commit
e8b6d92d4d
26 files changed
+469
-512
No files matched your search
@@ -13,8 +13,22 @@
|
||||
void reset();
|
||||
void set_defaults();
|
||||
|
||||
void load();
|
||||
void save();
|
||||
void load()
|
||||
%code%{
|
||||
try {
|
||||
THIS->load();
|
||||
} catch (std::exception& e) {
|
||||
croak("Loading an application config file failed:\n%s\n", e.what());
|
||||
}
|
||||
%};
|
||||
void save()
|
||||
%code%{
|
||||
try {
|
||||
THIS->save();
|
||||
} catch (std::exception& e) {
|
||||
croak("Saving an application config file failed:\n%s\n", e.what());
|
||||
}
|
||||
%};
|
||||
bool exists();
|
||||
bool dirty();
|
||||
|
||||
|
||||
Reference in new issue
Block a user