X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fjob_manager_view.h;h=e960bc2f667a33e2c291fd79dffb3fbe9ac0ce18;hb=2a616640a07662410d6e5f986a692281fdc3c744;hp=7624678c2be691aadc5871700cad63660d36823c;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/job_manager_view.h b/src/wx/job_manager_view.h index 7624678c2..e960bc2f6 100644 --- a/src/wx/job_manager_view.h +++ b/src/wx/job_manager_view.h @@ -18,32 +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 *); + 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; + std::shared_ptr _timer; + bool _batch; - std::list > _job_records; + std::list> _job_records; };