X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fjob_manager_view.h;h=e960bc2f667a33e2c291fd79dffb3fbe9ac0ce18;hb=442eb6a8b78735c2987b16443646e9350b3d68e8;hp=d887718d34b0f18eea8e3fdd6a53e448cfa74581;hpb=a5e041b46b675c1f42fc83920be45345662e0376;p=dcpomatic.git diff --git a/src/wx/job_manager_view.h b/src/wx/job_manager_view.h index d887718d3..e960bc2f6 100644 --- a/src/wx/job_manager_view.h +++ b/src/wx/job_manager_view.h @@ -18,33 +18,42 @@ */ + /** @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 -#include +DCPOMATIC_ENABLE_WARNINGS #include +#include + 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 *, bool latest_at_top); + JobManagerView (wxWindow *, bool batch); private: - void job_added (boost::weak_ptr); + void job_added (std::weak_ptr); void periodic (); + void replace (); + void job_list_changed (); wxPanel* _panel; wxFlexGridSizer* _table; - boost::shared_ptr _timer; - bool _latest_at_top; + std::shared_ptr _timer; + bool _batch; - std::list > _job_records; + std::list> _job_records; };