mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
Looks like the reworked C++ preferences start to work again.
This commit is contained in:
parent
95c284c764
commit
e8b6d92d4d
26 changed files with 469 additions and 512 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue