diff options
author | Vojtech Kral <vojtech@kral.hk> | 2018-12-20 15:36:49 +0300 |
---|---|---|
committer | Vojtech Kral <vojtech@kral.hk> | 2018-12-20 15:38:00 +0300 |
commit | 2d0dc6b050ebf9288f187fa7f321d6394bdcc4ad (patch) | |
tree | 47f41ce9fa5486f7b978f27b0ea3733231ad07eb /src/slic3r/GUI/PrintHostDialogs.hpp | |
parent | afc5ed0c624b585cb41c365b591e3a917d80a096 (diff) |
Printhost: Cancelation, bugfixes
Diffstat (limited to 'src/slic3r/GUI/PrintHostDialogs.hpp')
-rw-r--r-- | src/slic3r/GUI/PrintHostDialogs.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slic3r/GUI/PrintHostDialogs.hpp b/src/slic3r/GUI/PrintHostDialogs.hpp index b8b5d62bb..ee3fe26d8 100644 --- a/src/slic3r/GUI/PrintHostDialogs.hpp +++ b/src/slic3r/GUI/PrintHostDialogs.hpp @@ -86,16 +86,19 @@ private: // Note: EventGuard prevents delivery of progress evts to a freed PrintHostQueueDialog EventGuard on_progress_evt; EventGuard on_error_evt; + EventGuard on_cancel_evt; JobState get_state(int idx); void set_state(int idx, JobState); void on_list_select(); void on_progress(Event&); void on_error(Event&); + void on_cancel(Event&); }; wxDECLARE_EVENT(EVT_PRINTHOST_PROGRESS, PrintHostQueueDialog::Event); wxDECLARE_EVENT(EVT_PRINTHOST_ERROR, PrintHostQueueDialog::Event); +wxDECLARE_EVENT(EVT_PRINTHOST_CANCEL, PrintHostQueueDialog::Event); }} |