%module{Slic3r::XS}; %{ #include #include "slic3r/GUI/GUI.hpp" %} %package{Slic3r::GUI}; void disable_screensaver() %code{% Slic3r::GUI::disable_screensaver(); %}; void enable_screensaver() %code{% Slic3r::GUI::enable_screensaver(); %}; std::vector scan_serial_ports() %code{% RETVAL=Slic3r::GUI::scan_serial_ports(); %}; bool debugged() %code{% RETVAL=Slic3r::GUI::debugged(); %}; void break_to_debugger() %code{% Slic3r::GUI::break_to_debugger(); %};