diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-11-27 01:04:37 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-11-28 21:08:08 +0100 |
| commit | b2d850326af5c9ffc6486e4cc40bef6e1c051a6f (patch) | |
| tree | 3c58777c4804f4967f9246f23cd9e7b1dabb6493 /src/lib/content.h | |
| parent | 7926a03f67cf0a371e43b5d8b4d075c7a789a478 (diff) | |
Extract part of the content change job to Content.
Diffstat (limited to 'src/lib/content.h')
| -rw-r--r-- | src/lib/content.h | 3 |
1 files changed, 3 insertions, 0 deletions
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<TextContent> only_text () const; std::shared_ptr<TextContent> 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<const Film> film, std::list<UserProperty> &) const; |
