Fix alignment of labels on macOS (#2043).
[dcpomatic.git] / src / wx / job_manager_view.h
index 7624678c2be691aadc5871700cad63660d36823c..e960bc2f667a33e2c291fd79dffb3fbe9ac0ce18 100644 (file)
 
 */
 
+
 /** @file src/job_manager_view.h
  *  @brief Class which is a wxPanel for showing the progress of jobs.
  */
 
+
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
-#include <boost/shared_ptr.hpp>
+DCPOMATIC_ENABLE_WARNINGS
 #include <list>
+#include <memory>
+
 
 class Job;
 class JobView;
 
+
 /** @class JobManagerView
  *  @brief Class which is a wxPanel for showing the progress of jobs.
  */
 class JobManagerView : public wxScrolledWindow
 {
 public:
-       JobManagerView (wxWindow *);
+       JobManagerView (wxWindow *, bool batch);
 
 private:
-       void job_added (boost::weak_ptr<Job>);
+       void job_added (std::weak_ptr<Job>);
        void periodic ();
+       void replace ();
+       void job_list_changed ();
 
        wxPanel* _panel;
        wxFlexGridSizer* _table;
-       boost::shared_ptr<wxTimer> _timer;
+       std::shared_ptr<wxTimer> _timer;
+       bool _batch;
 
-       std::list<boost::shared_ptr<JobView> > _job_records;
+       std::list<std::shared_ptr<JobView>> _job_records;
 };