AppController.xsp 548 B

123456789101112131415161718192021222324252627
  1. %module{Slic3r::XS};
  2. %{
  3. #include <xsinit.h>
  4. #include "slic3r/AppController.hpp"
  5. #include "libslic3r/Model.hpp"
  6. #include "libslic3r/Print.hpp"
  7. %}
  8. %name{Slic3r::PrintController} class PrintController {
  9. PrintController(Print *print);
  10. void slice();
  11. };
  12. %name{Slic3r::AppController} class AppController {
  13. AppController();
  14. PrintController *print_ctl();
  15. void set_model(Model *model);
  16. void set_print(Print *print);
  17. void set_global_progress_indicator(unsigned gauge_id, unsigned statusbar_id);
  18. void arrange_model();
  19. };