b37e348604b75f346c8b423dd6b67a4663102871 from master; tweak job view.
[dcpomatic.git] / src / wx / job_manager_view.h
index 4653118378676e8ccbb8529984a4f7fbf00cad50..244299a400a7bbf411f4575738eddf53fb4a6d71 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2012 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -34,18 +34,15 @@ class JobRecord;
 class JobManagerView : public wxScrolledWindow
 {
 public:
-       enum Buttons {
-               PAUSE = 0x1,
-       };
-               
-       JobManagerView (wxWindow *, Buttons);
+       JobManagerView (wxWindow *);
 
 private:
        void job_added (boost::weak_ptr<Job>);
+       void periodic ();
 
        wxPanel* _panel;
        wxFlexGridSizer* _table;
+       boost::shared_ptr<wxTimer> _timer;
                
        std::list<boost::shared_ptr<JobRecord> > _job_records;
-       Buttons _buttons;
 };