diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-06-17 17:39:22 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-09-17 14:20:06 +0300 |
commit | 235b659cf97211f0b80c47008d8458b9173a3a40 (patch) | |
tree | 1e799e771c9d9e653ff5f142cfe1e62487fd65d9 /src/slic3r/GUI/PresetBundle.hpp | |
parent | dba9925c4ed37d5b44f6672824987fa9ca0ad7b8 (diff) |
WIP: ConfigWizard: 3rd party bundle installation roughly done
Diffstat (limited to 'src/slic3r/GUI/PresetBundle.hpp')
-rw-r--r-- | src/slic3r/GUI/PresetBundle.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/slic3r/GUI/PresetBundle.hpp b/src/slic3r/GUI/PresetBundle.hpp index 847b37018..d7ec5e3f0 100644 --- a/src/slic3r/GUI/PresetBundle.hpp +++ b/src/slic3r/GUI/PresetBundle.hpp @@ -4,7 +4,9 @@ #include "AppConfig.hpp" #include "Preset.hpp" +#include <memory> #include <set> +#include <unordered_map> #include <boost/filesystem/path.hpp> class wxWindow; @@ -56,7 +58,8 @@ public: // There will be an entry for each system profile loaded, // and the system profiles will point to the VendorProfile instances owned by PresetBundle::vendors. - std::set<VendorProfile> vendors; + // std::set<VendorProfile> vendors; + VendorMap vendors; struct ObsoletePresets { std::vector<std::string> prints; @@ -135,6 +138,9 @@ public: void load_default_preset_bitmaps(wxWindow *window); + void load_available_system_presets(); // XXX: name XXX: retval (VendorMap stored internally) + + static const char *PRUSA_BUNDLE; private: std::string load_system_presets(); // Merge one vendor's presets with the other vendor's presets, report duplicates. |