mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-28 15:45:30 +00:00
Translate PlaceholderParser::apply_config to C++.
This commit is contained in:
committed by
Alessandro Ranellucci
parent
e88545b966
commit
a837e26f51
@@ -10,10 +10,11 @@
|
||||
%name{_new} PlaceholderParser();
|
||||
~PlaceholderParser();
|
||||
|
||||
void apply_config(DynamicPrintConfig *config)
|
||||
%code%{ THIS->apply_config(*config); %};
|
||||
|
||||
void _single_set(std::string k, std::string v)
|
||||
%code%{ THIS->_single[k] = v; %};
|
||||
void _multiple_set(std::string k, std::string v)
|
||||
%code%{ THIS->_multiple[k] = v; %};
|
||||
|
||||
std::string _single_get(std::string k)
|
||||
%code%{ RETVAL = THIS->_single[k]; %};
|
||||
|
||||
Reference in New Issue
Block a user