summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-08-20 23:01:14 +0100
committerCarl Hetherington <cth@carlh.net>2018-08-20 23:29:21 +0100
commit5dbd022f3abb0ebab57fb67073a07ed60df902a6 (patch)
tree25aaae8dcf0268d12e2cdc7e8b99ceb534aed55a /src/lib/content.h
parent0284a5328af3fb41d83d86b8a3b8fffd6d69ddc5 (diff)
Make ContentChange into a generic ChangeSignaller and use it for Filmv2.13.44
changes, since we setup_pieces() in response to at least one of these and hence we must know before it happens so we can suspend the butler and player.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index e8710ccb7..d519dc52b 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -28,6 +28,7 @@
#include "types.h"
#include "signaller.h"
#include "dcpomatic_time.h"
+#include "change_signaller.h"
#include "user_property.h"
#include <libcxml/cxml.h>
#include <boost/filesystem.hpp>
@@ -207,7 +208,7 @@ private:
friend struct best_dcp_frame_rate_test_single;
friend struct best_dcp_frame_rate_test_double;
friend struct audio_sampling_rate_test;
- friend class ContentChange;
+ template<class> friend class ChangeSignaller;
void signal_change (ChangeType, int);