Initial work for G-code sender and more intensive usage of Boost

This commit is contained in:
Alessandro Ranellucci 2014-11-26 22:30:25 +01:00
parent 43cbad8867
commit 11dd67ab34
1649 changed files with 1860 additions and 1642 deletions

17
xs/xsp/GCodeSender.xsp Normal file
View file

@ -0,0 +1,17 @@
%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();
void send(std::string s);
};
#endif