PrusaSlicer-NonPlainar/xs/xsp/AppController.xsp

28 lines
574 B
Plaintext
Raw Normal View History

%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);
void slice_to_png();
void slice();
};
%name{Slic3r::AppController} class AppController {
AppController();
PrintController *print_ctl();
void set_model(Model *model);
void set_print(Print *print);
2018-06-26 15:02:46 +00:00
void set_global_progress_indicator(unsigned gauge_id, unsigned statusbar_id);
2018-06-28 16:47:18 +00:00
void arrange_model();
};