Print host bugfixes / refactoring

This commit is contained in:
Vojtech Kral 2018-08-21 11:10:32 +02:00
parent ee9f7eaef6
commit 0c984c7584
20 changed files with 61 additions and 105 deletions

View file

@ -7,4 +7,6 @@
%name{Slic3r::PrintHost} class PrintHost {
bool send_gcode(std::string filename) const;
static PrintHost* get_print_host(DynamicPrintConfig *config);
};

View file

@ -1,13 +0,0 @@
%module{Slic3r::XS};
%{
#include <xsinit.h>
#include "slic3r/Utils/PrintHostFactory.hpp"
%}
%name{Slic3r::PrintHostFactory} class PrintHostFactory {
PrintHostFactory();
~PrintHostFactory();
static PrintHost * get_print_host(DynamicPrintConfig *config);
};

View file

@ -239,11 +239,7 @@ Ref<TabIface> O_OBJECT_SLIC3R_T
PresetUpdater* O_OBJECT_SLIC3R
Ref<PresetUpdater> O_OBJECT_SLIC3R_T
PrintHostFactory* O_OBJECT_SLIC3R
Ref<PrintHostFactory> O_OBJECT_SLIC3R_T
Clone<PrintHostFactory> O_OBJECT_SLIC3R_T
PrintHost* O_OBJECT_SLIC3R
PrintHost* O_OBJECT_SLIC3R
Axis T_UV
ExtrusionLoopRole T_UV