Translate PlaceholderParser::apply_config to C++.

This commit is contained in:
Y. Sapir
2014-06-13 16:32:11 +03:00
committed by Alessandro Ranellucci
parent e88545b966
commit a837e26f51
4 changed files with 109 additions and 31 deletions

View File

@@ -5,6 +5,7 @@
#include <myinit.h>
#include <map>
#include <string>
#include "PrintConfig.hpp"
namespace Slic3r {
@@ -17,6 +18,13 @@ class PlaceholderParser
PlaceholderParser();
~PlaceholderParser();
void apply_config(DynamicPrintConfig &config);
private:
template<class T>
void set_multiple_from_vector(
const std::string &key, ConfigOptionVector<T> &opt);
};
}