X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fjob_manager_view.h;h=c1a1744bf69aae6deab0d9b9230f3c5c13f054f5;hb=054fa39c2c9c4adf3219669e16e6fe6f44838694;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..c1a1744bf 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 +LIBDCP_DISABLE_WARNINGS #include -#include +LIBDCP_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; };