%module{Slic3r::XS}; %{ #include #include "slic3r/Utils/OctoPrint.hpp" %} %name{Slic3r::OctoPrint} class OctoPrint { OctoPrint(DynamicPrintConfig *config); ~OctoPrint(); bool send_gcode(std::string filename, bool print = false) const; };