PrusaSlicer-NonPlainar/xs/xsp/GUI.xsp

16 lines
261 B
Plaintext
Raw Normal View History

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