Added friendly names to serial ports, added automatic selection of Prusa's printers in the firmware updater dialog
This commit is contained in:
parent
7f8265e2be
commit
33f21422e6
8 changed files with 187 additions and 94 deletions
|
@ -4,6 +4,7 @@
|
|||
#include <xsinit.h>
|
||||
#include "slic3r/GUI/GUI.hpp"
|
||||
#include "slic3r/Utils/ASCIIFolding.hpp"
|
||||
#include "slic3r/Utils/Serial.hpp"
|
||||
%}
|
||||
|
||||
|
||||
|
@ -19,7 +20,7 @@ void enable_screensaver()
|
|||
%code{% Slic3r::GUI::enable_screensaver(); %};
|
||||
|
||||
std::vector<std::string> scan_serial_ports()
|
||||
%code{% RETVAL=Slic3r::GUI::scan_serial_ports(); %};
|
||||
%code{% RETVAL=Slic3r::Utils::scan_serial_ports(); %};
|
||||
|
||||
bool debugged()
|
||||
%code{% RETVAL=Slic3r::GUI::debugged(); %};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue