Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVojtech Kral <vojtech@kral.hk>2018-12-11 12:33:11 +0300
committerVojtech Kral <vojtech@kral.hk>2018-12-12 15:17:01 +0300
commit2350fb62b9db77d67b5722751ad8013e38573464 (patch)
tree339577cfa84e5d5728cbe5ac6dc9b594b77864e1 /src/slic3r/GUI/PrintHostDialogs.hpp
parent0bba11645533e4db2e7b839092a3c36e9b6f85d7 (diff)
WIP OctoPrint integration
Diffstat (limited to 'src/slic3r/GUI/PrintHostDialogs.hpp')
-rw-r--r--src/slic3r/GUI/PrintHostDialogs.hpp49
1 files changed, 49 insertions, 0 deletions
diff --git a/src/slic3r/GUI/PrintHostDialogs.hpp b/src/slic3r/GUI/PrintHostDialogs.hpp
new file mode 100644
index 000000000..d27fbe576
--- /dev/null
+++ b/src/slic3r/GUI/PrintHostDialogs.hpp
@@ -0,0 +1,49 @@
+#ifndef slic3r_PrintHostSendDialog_hpp_
+#define slic3r_PrintHostSendDialog_hpp_
+
+#include <string>
+
+#include <boost/filesystem/path.hpp>
+
+#include <wx/string.h>
+#include <wx/frame.h>
+#include <wx/event.h>
+#include <wx/progdlg.h>
+#include <wx/sizer.h>
+#include <wx/stattext.h>
+#include <wx/textctrl.h>
+#include <wx/checkbox.h>
+
+#include "slic3r/GUI/GUI.hpp"
+#include "slic3r/GUI/MsgDialog.hpp"
+
+
+namespace Slic3r {
+
+
+class PrintHostSendDialog : public GUI::MsgDialog
+{
+public:
+ PrintHostSendDialog(const boost::filesystem::path &path);
+ boost::filesystem::path filename() const;
+ bool start_print() const;
+
+private:
+ wxTextCtrl *txt_filename;
+ wxCheckBox *box_print;
+ bool can_start_print;
+};
+
+
+class PrintHostQueueDialog : public wxDialog
+{
+public:
+ PrintHostQueueDialog();
+
+private:
+};
+
+
+}
+
+#endif