diff options
author | Vojtech Kral <vojtech@kral.hk> | 2019-03-12 19:41:43 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2019-03-14 16:46:31 +0300 |
commit | 2c49dcb9bed0fc49b3c24f33d4cecf01fa7e8b9a (patch) | |
tree | 9283f35e2a176d43a21a32fc6778b5fc3b0885c3 /src/slic3r/GUI/BonjourDialog.hpp | |
parent | f02f24c4b78b9c6d52fbcf515793fccb437bc1b6 (diff) |
Bonjour: Add txt key-val extraction, filtering based on printer tech
Diffstat (limited to 'src/slic3r/GUI/BonjourDialog.hpp')
-rw-r--r-- | src/slic3r/GUI/BonjourDialog.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/slic3r/GUI/BonjourDialog.hpp b/src/slic3r/GUI/BonjourDialog.hpp index e3f53790b..a9a33d522 100644 --- a/src/slic3r/GUI/BonjourDialog.hpp +++ b/src/slic3r/GUI/BonjourDialog.hpp @@ -5,6 +5,8 @@ #include <wx/dialog.h> +#include "libslic3r/PrintConfig.hpp" + class wxListView; class wxStaticText; class wxTimer; @@ -21,7 +23,7 @@ class ReplySet; class BonjourDialog: public wxDialog { public: - BonjourDialog(wxWindow *parent); + BonjourDialog(wxWindow *parent, Slic3r::PrinterTechnology); BonjourDialog(BonjourDialog &&) = delete; BonjourDialog(const BonjourDialog &) = delete; BonjourDialog &operator=(BonjourDialog &&) = delete; @@ -37,6 +39,7 @@ private: std::shared_ptr<Bonjour> bonjour; std::unique_ptr<wxTimer> timer; unsigned timer_state; + Slic3r::PrinterTechnology tech; void on_reply(BonjourReplyEvent &); void on_timer(wxTimerEvent &); |