diff options
Diffstat (limited to 'xs/xsp/AppController.xsp')
-rw-r--r-- | xs/xsp/AppController.xsp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/xs/xsp/AppController.xsp b/xs/xsp/AppController.xsp new file mode 100644 index 000000000..a578fe0b1 --- /dev/null +++ b/xs/xsp/AppController.xsp @@ -0,0 +1,24 @@ +%module{Slic3r::XS}; + +%{ +#include <xsinit.h> +#include "slic3r/AppController.hpp" +#include "libslic3r/Model.hpp" +#include "libslic3r/Print.hpp" +%} + +%name{Slic3r::PrintController} class PrintController { + PrintController(Print *print); +}; + +%name{Slic3r::AppController} class AppController { + + AppController(); + + PrintController *print_ctl(); + void set_model(Model *model); + void set_print(Print *print); + void set_global_progress_indicator(unsigned gauge_id, unsigned statusbar_id); + + void arrange_model(); +};
\ No newline at end of file |