mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Work in progress: Good bye, Perl Threads!
This commit is contained in:
parent
86b79f89ad
commit
e931f75010
31 changed files with 833 additions and 1069 deletions
23
xs/xsp/GUI_BackgroundSlicingProcess.xsp
Normal file
23
xs/xsp/GUI_BackgroundSlicingProcess.xsp
Normal file
|
@ -0,0 +1,23 @@
|
|||
|
||||
%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();
|
||||
bool apply_config(DynamicPrintConfig *config);
|
||||
|
||||
bool running();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue