summaryrefslogtreecommitdiff
path: root/src/lib/examine_content_job.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-04 00:13:39 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-04 00:13:39 +0200
commit34e5ddc254c0a12224cb985e440a2ab7075b532a (patch)
tree5b83d940eb4c41ec405a98241fc26bb0fffbba3a /src/lib/examine_content_job.cc
parentfa4da415f1788bed17eefd05ba8d49b8ad847613 (diff)
C++11 tidying.
Diffstat (limited to 'src/lib/examine_content_job.cc')
-rw-r--r--src/lib/examine_content_job.cc15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/lib/examine_content_job.cc b/src/lib/examine_content_job.cc
index fb9439155..baa11ac93 100644
--- a/src/lib/examine_content_job.cc
+++ b/src/lib/examine_content_job.cc
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2012-2015 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2012-2021 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,19 +18,22 @@
*/
-#include <boost/filesystem.hpp>
-#include "examine_content_job.h"
-#include "log.h"
+
#include "content.h"
+#include "examine_content_job.h"
#include "film.h"
+#include "log.h"
+#include <boost/filesystem.hpp>
#include <iostream>
#include "i18n.h"
+
using std::string;
using std::cout;
using std::shared_ptr;
+
ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Content> c)
: Job (film)
, _content (c)
@@ -38,23 +41,27 @@ ExamineContentJob::ExamineContentJob (shared_ptr<const Film> film, shared_ptr<Co
}
+
ExamineContentJob::~ExamineContentJob ()
{
stop_thread ();
}
+
string
ExamineContentJob::name () const
{
return _("Examining content");
}
+
string
ExamineContentJob::json_name () const
{
return N_("examine_content");
}
+
void
ExamineContentJob::run ()
{