summaryrefslogtreecommitdiff
path: root/src/wx/job_manager_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-03-26 00:55:58 +0000
committerCarl Hetherington <cth@carlh.net>2013-03-26 00:55:58 +0000
commit8bb8f8e8d11ffbf7c18d6162c9983d1a18f4311b (patch)
tree7e3bfdfc7e82e41e411b40eaec48f07a387ee967 /src/wx/job_manager_view.h
parent0d64c6dfd3bf8f59946795f8b97c5351b2619fa2 (diff)
Basics of allowing job cancellation (#83, #16).
Diffstat (limited to 'src/wx/job_manager_view.h')
-rw-r--r--src/wx/job_manager_view.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wx/job_manager_view.h b/src/wx/job_manager_view.h
index d43e795ea..72ac85c02 100644
--- a/src/wx/job_manager_view.h
+++ b/src/wx/job_manager_view.h
@@ -39,6 +39,7 @@ public:
private:
void periodic (wxTimerEvent &);
+ void cancel_clicked (wxCommandEvent &);
void details_clicked (wxCommandEvent &);
boost::shared_ptr<wxTimer> _timer;
@@ -47,6 +48,7 @@ private:
struct JobRecord {
wxGauge* gauge;
wxStaticText* message;
+ wxButton* cancel;
wxButton* details;
bool finalised;
};