%module{Slic3r::XS}; %{ #include #include "slic3r/Utils/PrintHost.hpp" %} %name{Slic3r::PrintHost} class PrintHost { bool send_gcode(std::string filename) const; };