2018-03-23 10:41:20 +00:00
|
|
|
|
|
|
|
%module{Slic3r::XS};
|
|
|
|
|
|
|
|
%{
|
|
|
|
#include <xsinit.h>
|
|
|
|
#include "slic3r/GUI/BackgroundSlicingProcess.hpp"
|
|
|
|
%}
|
|
|
|
|
|
|
|
%name{Slic3r::GUI::BackgroundSlicingProcess} class BackgroundSlicingProcess {
|
|
|
|
BackgroundSlicingProcess();
|
|
|
|
~BackgroundSlicingProcess();
|
|
|
|
|
|
|
|
void set_print(Print *print);
|
|
|
|
void set_gcode_preview_data(GCodePreviewData *gpd);
|
|
|
|
void set_sliced_event(int event_id);
|
|
|
|
void set_finished_event(int event_id);
|
|
|
|
|
|
|
|
bool start();
|
|
|
|
bool stop();
|
2018-03-28 15:05:31 +00:00
|
|
|
bool apply_config(DynamicPrintConfig *config)
|
|
|
|
%code%{ RETVAL = THIS->apply_config(*config); %};
|
2018-03-23 10:41:20 +00:00
|
|
|
|
|
|
|
bool running();
|
|
|
|
};
|