Load presets into the new C++ class.

This commit is contained in:
bubnikv committed 2017-10-02 17:35:00 +02:00
1 parent b1e3b0cdf9
commit 84d4bf8fdb
6 files changed
+57 -3

No files matched your search

+3
View File
@@ -51,6 +51,9 @@ PresetCollection::arrayref()
PresetBundle();
~PresetBundle();
void load_bitmaps(std::string path_bitmap_compatible, std::string path_bitmap_incompatible);
void load_presets(std::string dir_path);
Ref<PresetCollection> prints() %code%{ RETVAL = &THIS->prints; %};
Ref<PresetCollection> filaments() %code%{ RETVAL = &THIS->filaments; %};
Ref<PresetCollection> printers() %code%{ RETVAL = &THIS->printers; %};