Basics of allowing job cancellation (#83, #16).
[dcpomatic.git] / src / wx / job_manager_view.h
index d43e795ea59797da395a6486060f8b9b9dd3706a..72ac85c02640423ee4c2f23b1756c8680adf645b 100644 (file)
@@ -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;
        };