diff options
author | bubnikv <bubnikv@gmail.com> | 2017-12-10 15:19:44 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-12-10 15:19:44 +0300 |
commit | 657f2734f19da1d6483b9d70b5d8102e727bc34b (patch) | |
tree | 152a9f1128d3a2af638b930d923d324e75231175 /xs/src/libslic3r/Utils.hpp | |
parent | 9a80ff57b26b41bf1e4ad275ccd8416cd0d567b0 (diff) |
Extended the Config Wizard to offer a selection of config bundles
bundled with Slic3r installation, and install it into user's Slic3r profile.
These bundled config bundles will be contained in the Slic3r source
tree under Slic3r/resources/profiles.
Breaking change! The Slic3r user directory has been renamed to Slic3rPE
for the Prusa Edition. Also it is likely, that the Slic3rPE directory
will be reorganized before the final 1.38 release to reserve space
for temporary profiles downloaded from the Internet.
Diffstat (limited to 'xs/src/libslic3r/Utils.hpp')
-rw-r--r-- | xs/src/libslic3r/Utils.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xs/src/libslic3r/Utils.hpp b/xs/src/libslic3r/Utils.hpp index 308a2a118..d988de860 100644 --- a/xs/src/libslic3r/Utils.hpp +++ b/xs/src/libslic3r/Utils.hpp @@ -15,6 +15,11 @@ const std::string& var_dir(); // Return a full resource path for a file_name. std::string var(const std::string &file_name); +// Set a path with various static definition data (for example the initial config bundles). +void set_resources_dir(const std::string &path); +// Return a full path to the resources directory. +const std::string& resources_dir(); + // Set a path with preset files. void set_data_dir(const std::string &path); // Return a full path to the GUI resource files. |