PrusaSlicer-NonPlainar/xs/xsp/Utils_OctoPrint.xsp
2018-03-05 18:33:15 +01:00

15 lines
339 B
Plaintext

%module{Slic3r::XS};
%{
#include <xsinit.h>
#include "slic3r/Utils/OctoPrint.hpp"
%}
%name{Slic3r::OctoPrint} class OctoPrint {
OctoPrint(DynamicPrintConfig *config);
~OctoPrint();
std::string test() const;
void send_gcode(int windowId, int completeEvt, int errorEvt, std::string filename, bool print = false) const;
};