mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Initial work for G-code sender and more intensive usage of Boost
This commit is contained in:
17
xs/xsp/GCodeSender.xsp
Normal file
17
xs/xsp/GCodeSender.xsp
Normal 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
|
||||
Reference in New Issue
Block a user