This commit is contained in:
bubnikv 2018-02-02 11:32:32 +01:00
parent 4f427f8387
commit 36bbd6a73f

View File

@ -18,8 +18,8 @@
bool is_compatible_with_printer(Preset *active_printer) bool is_compatible_with_printer(Preset *active_printer)
%code%{ RETVAL = THIS->is_compatible_with_printer(*active_printer); %}; %code%{ RETVAL = THIS->is_compatible_with_printer(*active_printer); %};
const char* name() %code%{ RETVAL = THIS->name.c_str(); %}; std::string name() %code%{ RETVAL = THIS->name; %};
const char* file() %code%{ RETVAL = THIS->file.c_str(); %}; std::string file() %code%{ RETVAL = THIS->file; %};
bool loaded() %code%{ RETVAL = THIS->loaded; %}; bool loaded() %code%{ RETVAL = THIS->loaded; %};