summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-31 23:47:14 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-31 23:47:14 +0100
commite0255a64d22440d718e5512f34a4f21f0d37a21b (patch)
tree61927018d28794c7c32c238bc37259bfddb2f01c /src/lib/dcp_content.cc
parent8fedaaa75c4586a4cc7ffb393bd71d1fdb091dc8 (diff)
Use enum class for Film::Property.
Diffstat (limited to 'src/lib/dcp_content.cc')
-rw-r--r--src/lib/dcp_content.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/dcp_content.cc b/src/lib/dcp_content.cc
index 4bd718e96..156a1a205 100644
--- a/src/lib/dcp_content.cc
+++ b/src/lib/dcp_content.cc
@@ -219,10 +219,10 @@ DCPContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job)
bool const needed_kdm = needs_kdm ();
string const old_name = name ();
- ChangeSignaller<Content> cc_texts (this, DCPContentProperty::TEXTS);
- ChangeSignaller<Content> cc_assets (this, DCPContentProperty::NEEDS_ASSETS);
- ChangeSignaller<Content> cc_kdm (this, DCPContentProperty::NEEDS_KDM);
- ChangeSignaller<Content> cc_name (this, DCPContentProperty::NAME);
+ ContentChangeSignaller cc_texts (this, DCPContentProperty::TEXTS);
+ ContentChangeSignaller cc_assets (this, DCPContentProperty::NEEDS_ASSETS);
+ ContentChangeSignaller cc_kdm (this, DCPContentProperty::NEEDS_KDM);
+ ContentChangeSignaller cc_name (this, DCPContentProperty::NAME);
if (job) {
job->set_progress_unknown ();
@@ -509,7 +509,7 @@ DCPContent::set_default_colour_conversion ()
void
DCPContent::set_reference_video (bool r)
{
- ChangeSignaller<Content> cc (this, DCPContentProperty::REFERENCE_VIDEO);
+ ContentChangeSignaller cc (this, DCPContentProperty::REFERENCE_VIDEO);
{
boost::mutex::scoped_lock lm (_mutex);
@@ -520,7 +520,7 @@ DCPContent::set_reference_video (bool r)
void
DCPContent::set_reference_audio (bool r)
{
- ChangeSignaller<Content> cc (this, DCPContentProperty::REFERENCE_AUDIO);
+ ContentChangeSignaller cc (this, DCPContentProperty::REFERENCE_AUDIO);
{
boost::mutex::scoped_lock lm (_mutex);
@@ -531,7 +531,7 @@ DCPContent::set_reference_audio (bool r)
void
DCPContent::set_reference_text (TextType type, bool r)
{
- ChangeSignaller<Content> cc (this, DCPContentProperty::REFERENCE_TEXT);
+ ContentChangeSignaller cc (this, DCPContentProperty::REFERENCE_TEXT);
{
boost::mutex::scoped_lock lm (_mutex);
@@ -788,7 +788,7 @@ DCPContent::take_settings_from (shared_ptr<const Content> c)
void
DCPContent::set_cpl (string id)
{
- ChangeSignaller<Content> cc (this, DCPContentProperty::CPL);
+ ContentChangeSignaller cc (this, DCPContentProperty::CPL);
{
boost::mutex::scoped_lock lm (_mutex);