Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2015-05-02 22:43:22 +0300
committerAlessandro Ranellucci <aar@cpan.org>2015-05-02 22:43:22 +0300
commitbf541a1fed2632cf66de8dfda314ffb14c9d7ba7 (patch)
tree3f18a54f2a74a5b14ddc6cb25bf9793e2aeaedda /xs/src/libslic3r/PlaceholderParser.hpp
parenta16dda0885a269b3d96e9106309aad5cf4a68edd (diff)
Refactoring in PlaceholderParser
Diffstat (limited to 'xs/src/libslic3r/PlaceholderParser.hpp')
-rw-r--r--xs/src/libslic3r/PlaceholderParser.hpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/xs/src/libslic3r/PlaceholderParser.hpp b/xs/src/libslic3r/PlaceholderParser.hpp
index eb061fab2..25d1bcdc3 100644
--- a/xs/src/libslic3r/PlaceholderParser.hpp
+++ b/xs/src/libslic3r/PlaceholderParser.hpp
@@ -5,6 +5,7 @@
#include <myinit.h>
#include <map>
#include <string>
+#include <vector>
#include "PrintConfig.hpp"
@@ -20,12 +21,8 @@ class PlaceholderParser
void update_timestamp();
void apply_config(DynamicPrintConfig &config);
void set(const std::string &key, const std::string &value);
-
- private:
- template<class T>
- void set_multiple_from_vector(
- const std::string &key, ConfigOptionVector<T> &opt);
- std::string _int_to_string(int value) const;
+ void set(const std::string &key, int value);
+ void set(const std::string &key, const std::vector<std::string> &values);
};
}