PrusaSlicer-NonPlainar/xs/xsp/GUI.xsp
2015-12-04 21:25:45 +01:00

16 lines
264 B
Plaintext

%module{Slic3r::XS};
%{
#include <myinit.h>
#include "libslic3r/GUI/GUI.hpp"
%}
%package{Slic3r::GUI};
void disable_screensaver()
%code{% Slic3r::GUI::disable_screensaver(); %};
void enable_screensaver()
%code{% Slic3r::GUI::enable_screensaver(); %};