diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-08-14 00:12:22 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-08-17 12:51:26 +0200 |
| commit | 0b4bffff846efe967110477797218c170ffb3166 (patch) | |
| tree | f3cb1bbf1e3c86905afe42b159284d2d2c299476 /src/lib/content.h | |
| parent | 11456e09fd0a18ff9bd4c8421514b707d5d0c2fe (diff) | |
Add option to use relative content paths (#2856).
Diffstat (limited to 'src/lib/content.h')
| -rw-r--r-- | src/lib/content.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/content.h b/src/lib/content.h index d4b99d39e..a14c35774 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -30,6 +30,7 @@ #include "change_signaller.h" #include "dcpomatic_time.h" +#include "path_behaviour.h" #include "signaller.h" #include "user_property.h" #include "text_type.h" @@ -100,7 +101,13 @@ public: */ virtual std::string technical_summary () const; - virtual void as_xml(xmlpp::Element* element, bool with_paths) const; + virtual void as_xml( + xmlpp::Element* element, + bool with_paths, + PathBehaviour path_behaviour, + boost::optional<boost::filesystem::path> film_directory + ) const; + virtual dcpomatic::DCPTime full_length (std::shared_ptr<const Film>) const = 0; virtual dcpomatic::DCPTime approximate_length () const = 0; virtual std::string identifier () const; |
