projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pot/merge.
[dcpomatic.git]
/
src
/
wx
/
job_view_dialog.h
diff --git
a/src/wx/job_view_dialog.h
b/src/wx/job_view_dialog.h
index ae22aba73512773b5647893fb010d438428720c5..66a3ea6c658fe302bdaf4518ae207812b83251f1 100644
(file)
--- a/
src/wx/job_view_dialog.h
+++ b/
src/wx/job_view_dialog.h
@@
-1,5
+1,5
@@
/*
/*
- Copyright (C) 2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2015
-2021
Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
This file is part of DCP-o-matic.
@@
-18,21
+18,25
@@
*/
*/
+
#include "table_dialog.h"
#include "table_dialog.h"
-#include <boost/shared_ptr.hpp>
+#include <memory>
+
class JobView;
class Job;
class JobView;
class Job;
+
class JobViewDialog : public TableDialog
{
public:
class JobViewDialog : public TableDialog
{
public:
- JobViewDialog (wxWindow* parent, wxString title,
boost
::shared_ptr<Job> job);
+ JobViewDialog (wxWindow* parent, wxString title,
std
::shared_ptr<Job> job);
~JobViewDialog ();
private:
void periodic ();
~JobViewDialog ();
private:
void periodic ();
- JobView* _view;
- boost::shared_ptr<wxTimer> _timer;
+ JobView* _view = nullptr;
+ std::weak_ptr<Job> _job;
+ std::shared_ptr<wxTimer> _timer;
};
};