From 0b4bffff846efe967110477797218c170ffb3166 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 14 Aug 2024 00:12:22 +0200 Subject: Add option to use relative content paths (#2856). --- src/lib/string_text_file_content.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/lib/string_text_file_content.h') diff --git a/src/lib/string_text_file_content.h b/src/lib/string_text_file_content.h index 8a5d9946a..2edf475c3 100644 --- a/src/lib/string_text_file_content.h +++ b/src/lib/string_text_file_content.h @@ -45,7 +45,14 @@ public: void examine (std::shared_ptr film, std::shared_ptr) override; std::string summary () const override; std::string technical_summary () const override; - void as_xml(xmlpp::Element*, bool with_paths) const override; + + void as_xml( + xmlpp::Element* element, + bool with_paths, + PathBehaviour path_behaviour, + boost::optional film_directory + ) const override; + dcpomatic::DCPTime full_length (std::shared_ptr film) const override; dcpomatic::DCPTime approximate_length () const override; std::string identifier () const override; -- cgit v1.2.3