From 5dbd022f3abb0ebab57fb67073a07ed60df902a6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 20 Aug 2018 23:01:14 +0100 Subject: Make ContentChange into a generic ChangeSignaller and use it for Film 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. --- src/lib/film.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/film.h') diff --git a/src/lib/film.h b/src/lib/film.h index 649768c7a..26700323a 100644 --- a/src/lib/film.h +++ b/src/lib/film.h @@ -335,8 +335,10 @@ public: private: friend struct ::isdcf_name_test; + template friend class ChangeSignaller; - void signal_changed (Property); + void signal_change (ChangeType, Property); + void signal_change (ChangeType, int); std::string video_identifier () const; void playlist_change (ChangeType); void playlist_order_changed (); -- cgit v1.2.3