mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 23:31:13 -06:00
AppController class created to take the necessary app logic into C++.
This commit is contained in:
parent
4328ecc287
commit
5f310e1520
9 changed files with 428 additions and 1 deletions
20
xs/xsp/AppController.xsp
Normal file
20
xs/xsp/AppController.xsp
Normal file
|
@ -0,0 +1,20 @@
|
|||
%module{Slic3r::XS};
|
||||
|
||||
%{
|
||||
#include <xsinit.h>
|
||||
#include "slic3r/AppController.hpp"
|
||||
#include "libslic3r/Model.hpp"
|
||||
#include "libslic3r/Print.hpp"
|
||||
%}
|
||||
|
||||
%name{Slic3r::AppController} class AppController {
|
||||
|
||||
AppController();
|
||||
|
||||
void slice_to_png();
|
||||
|
||||
void set_model(Model *model);
|
||||
void set_print(Print *print);
|
||||
void set_global_progress_indicator_id(unsigned gauge_id, unsigned statusbar_id);
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue