mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Decoupled a generic Config implementation from the PrintConfig definitions
This commit is contained in:
@@ -2,12 +2,12 @@
|
||||
|
||||
%{
|
||||
#include <myinit.h>
|
||||
#include "Config.hpp"
|
||||
#include "PrintConfig.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::Config} class DynamicConfig {
|
||||
DynamicConfig();
|
||||
~DynamicConfig();
|
||||
%name{Slic3r::Config} class DynamicPrintConfig {
|
||||
DynamicPrintConfig();
|
||||
~DynamicPrintConfig();
|
||||
SV* get(t_config_option_key opt_key);
|
||||
void set(t_config_option_key opt_key, SV* value);
|
||||
void set_deserialize(t_config_option_key opt_key, std::string str);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
std::vector<Points::size_type> T_STD_VECTOR_INT
|
||||
t_config_option_key T_STD_STRING
|
||||
|
||||
DynamicConfig* O_OBJECT
|
||||
DynamicPrintConfig* O_OBJECT
|
||||
ZTable* O_OBJECT
|
||||
TriangleMesh* O_OBJECT
|
||||
Point* O_OBJECT
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
%typemap{SV*};
|
||||
%typemap{AV*};
|
||||
%typemap{Point*};
|
||||
%typemap{DynamicConfig*};
|
||||
%typemap{DynamicPrintConfig*};
|
||||
%typemap{ExPolygon*};
|
||||
%typemap{ExPolygonCollection*};
|
||||
%typemap{Line*};
|
||||
|
||||
Reference in New Issue
Block a user