2015-12-04 20:25:45 +00:00
|
|
|
%module{Slic3r::XS};
|
|
|
|
|
|
|
|
%{
|
2015-12-07 23:39:54 +00:00
|
|
|
#include <xsinit.h>
|
2015-12-06 11:54:01 +00:00
|
|
|
#include "slic3r/GUI/GUI.hpp"
|
2015-12-04 20:25:45 +00:00
|
|
|
%}
|
|
|
|
|
|
|
|
|
|
|
|
%package{Slic3r::GUI};
|
|
|
|
|
|
|
|
void disable_screensaver()
|
|
|
|
%code{% Slic3r::GUI::disable_screensaver(); %};
|
|
|
|
|
|
|
|
void enable_screensaver()
|
|
|
|
%code{% Slic3r::GUI::enable_screensaver(); %};
|
2016-04-13 18:45:44 +00:00
|
|
|
|
2017-11-02 15:21:34 +00:00
|
|
|
std::vector<std::string> scan_serial_ports()
|
|
|
|
%code{% RETVAL=Slic3r::GUI::scan_serial_ports(); %};
|
|
|
|
|
2016-04-13 18:45:44 +00:00
|
|
|
bool debugged()
|
|
|
|
%code{% RETVAL=Slic3r::GUI::debugged(); %};
|
|
|
|
|
|
|
|
void break_to_debugger()
|
|
|
|
%code{% Slic3r::GUI::break_to_debugger(); %};
|