PrusaSlicer-NonPlainar/xs/xsp/GCodeSender.xsp
Alessandro Ranellucci b126f92f41 Finished GCodeSender
2014-12-27 22:58:01 +01:00

20 lines
361 B
Text

%module{Slic3r::XS};
#ifdef BOOST_LIBS
%{
#include <myinit.h>
#include "libslic3r/GCodeSender.hpp"
%}
%name{Slic3r::GCode::Sender} class GCodeSender {
GCodeSender(std::string port, unsigned int baud_rate);
~GCodeSender();
bool is_connected() const;
int queue_size() const;
void disconnect();
void send(std::string s);
};
#endif