2013-12-20 15:37:28 +00:00
|
|
|
%module{Slic3r::XS};
|
|
|
|
|
|
|
|
%{
|
|
|
|
#include <myinit.h>
|
2013-12-21 15:15:41 +00:00
|
|
|
#include "PrintConfig.hpp"
|
2013-12-20 15:37:28 +00:00
|
|
|
%}
|
|
|
|
|
2013-12-21 15:15:41 +00:00
|
|
|
%name{Slic3r::Config} class DynamicPrintConfig {
|
|
|
|
DynamicPrintConfig();
|
|
|
|
~DynamicPrintConfig();
|
2013-12-20 15:37:28 +00:00
|
|
|
SV* get(t_config_option_key opt_key);
|
2013-12-20 19:54:11 +00:00
|
|
|
void set(t_config_option_key opt_key, SV* value);
|
|
|
|
void set_deserialize(t_config_option_key opt_key, std::string str);
|
|
|
|
std::string serialize(t_config_option_key opt_key);
|
|
|
|
float get_abs_value(t_config_option_key opt_key);
|
2013-12-20 15:37:28 +00:00
|
|
|
%{
|
|
|
|
|
|
|
|
%}
|
|
|
|
};
|