15 lines
339 B
Plaintext
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;
|
|
};
|