Ported PlaceholderParser::update_timestamp() to XS

Note that Slic3r version number is now located in libslic3r.h
This commit is contained in:
Alessandro Ranellucci 2014-11-09 20:41:27 +01:00
parent 6135a9fb8b
commit 8b6a8e6307
7 changed files with 64 additions and 30 deletions

View file

@ -17,14 +17,15 @@ class PlaceholderParser
std::map<std::string, std::string> _multiple;
PlaceholderParser();
~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;
};
}