mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-25 23:54:00 -06:00
Ported PlaceholderParser::update_timestamp() to XS
Note that Slic3r version number is now located in libslic3r.h
This commit is contained in:
parent
6135a9fb8b
commit
8b6a8e6307
7 changed files with 64 additions and 30 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue