diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-03 11:17:34 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-03 20:18:04 +0200 |
| commit | 689fa55d1529ad88449ca464e9107c4dcc54d1cb (patch) | |
| tree | edd1264941263f2fa25a98d61f98c87876c5b667 /src/lib/verify_dcp_job.cc | |
| parent | 0aabe4060ea4bad7c7caac633aef0737fccff8c2 (diff) | |
C++11 tidying.
Diffstat (limited to 'src/lib/verify_dcp_job.cc')
| -rw-r--r-- | src/lib/verify_dcp_job.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/verify_dcp_job.cc b/src/lib/verify_dcp_job.cc index bd5634669..1b30b2112 100644 --- a/src/lib/verify_dcp_job.cc +++ b/src/lib/verify_dcp_job.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2018-2019 Carl Hetherington <cth@carlh.net> + Copyright (C) 2018-2021 Carl Hetherington <cth@carlh.net> This file is part of DCP-o-matic. @@ -18,12 +18,14 @@ */ + #include "cross.h" #include "verify_dcp_job.h" #include "content.h" #include "i18n.h" + using std::string; using std::vector; using std::shared_ptr; @@ -32,6 +34,7 @@ using boost::optional; using namespace boost::placeholders; #endif + VerifyDCPJob::VerifyDCPJob (vector<boost::filesystem::path> directories) : Job (shared_ptr<Film>()) , _directories (directories) @@ -39,23 +42,27 @@ VerifyDCPJob::VerifyDCPJob (vector<boost::filesystem::path> directories) } + VerifyDCPJob::~VerifyDCPJob () { stop_thread (); } + string VerifyDCPJob::name () const { return _("Verify DCP"); } + string VerifyDCPJob::json_name () const { return N_("verify_dcp"); } + void VerifyDCPJob::update_stage (string s, optional<boost::filesystem::path> path) { @@ -65,6 +72,7 @@ VerifyDCPJob::update_stage (string s, optional<boost::filesystem::path> path) sub (s); } + void VerifyDCPJob::run () { |
