diff options
Diffstat (limited to 'xs/xsp/Utils_PrintHost.xsp')
-rw-r--r-- | xs/xsp/Utils_PrintHost.xsp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/xs/xsp/Utils_PrintHost.xsp b/xs/xsp/Utils_PrintHost.xsp new file mode 100644 index 000000000..59c09c431 --- /dev/null +++ b/xs/xsp/Utils_PrintHost.xsp @@ -0,0 +1,12 @@ +%module{Slic3r::XS}; + +%{ +#include <xsinit.h> +#include "slic3r/Utils/PrintHost.hpp" +%} + +%name{Slic3r::PrintHost} class PrintHost { + bool send_gcode(std::string filename) const; + + static PrintHost* get_print_host(DynamicPrintConfig *config); +}; |