From 07b21bb92a8d54c6c03de9aadc63ab93b65d9bc5 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 27 Nov 2021 01:04:37 +0100 Subject: Extract part of the content change job to Content. --- src/lib/content.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/lib/content.h') diff --git a/src/lib/content.h b/src/lib/content.h index 550b3cd9c..d17b0d0e5 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -202,6 +202,9 @@ public: std::shared_ptr only_text () const; std::shared_ptr text_of_original_type (TextType type) const; + /** @return true if this content has changed since it was last examined */ + bool changed () const; + protected: virtual void add_properties (std::shared_ptr film, std::list &) const; -- cgit v1.2.3