X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fjob_view_dialog.h;h=66a3ea6c658fe302bdaf4518ae207812b83251f1;hb=6e3e984162ca7a181bc7c98d90c295e88e4e7f6c;hp=ae22aba73512773b5647893fb010d438428720c5;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/job_view_dialog.h b/src/wx/job_view_dialog.h index ae22aba73..66a3ea6c6 100644 --- a/src/wx/job_view_dialog.h +++ b/src/wx/job_view_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2015 Carl Hetherington + Copyright (C) 2015-2021 Carl Hetherington This file is part of DCP-o-matic. @@ -18,21 +18,25 @@ */ + #include "table_dialog.h" -#include +#include + class JobView; class Job; + class JobViewDialog : public TableDialog { public: - JobViewDialog (wxWindow* parent, wxString title, boost::shared_ptr job); + JobViewDialog (wxWindow* parent, wxString title, std::shared_ptr job); ~JobViewDialog (); private: void periodic (); - JobView* _view; - boost::shared_ptr _timer; + JobView* _view = nullptr; + std::weak_ptr _job; + std::shared_ptr _timer; };