diff options
Diffstat (limited to 'src/lib/string_text_file_content.h')
| -rw-r--r-- | src/lib/string_text_file_content.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/string_text_file_content.h b/src/lib/string_text_file_content.h index 30f543381..abfd72906 100644 --- a/src/lib/string_text_file_content.h +++ b/src/lib/string_text_file_content.h @@ -32,7 +32,7 @@ class StringTextFileContent : public Content { public: StringTextFileContent (boost::filesystem::path); - StringTextFileContent (cxml::ConstNodePtr, int, std::list<std::string>&); + StringTextFileContent (cxml::ConstNodePtr, boost::optional<boost::filesystem::path> film_directory, int, std::list<std::string>&); std::shared_ptr<StringTextFileContent> shared_from_this () { return std::dynamic_pointer_cast<StringTextFileContent> (Content::shared_from_this ()); @@ -45,7 +45,14 @@ public: void examine (std::shared_ptr<const Film> film, std::shared_ptr<Job>) override; std::string summary () const override; std::string technical_summary () const override; - void as_xml (xmlpp::Node *, bool with_paths) const override; + + void as_xml( + xmlpp::Element* element, + bool with_paths, + PathBehaviour path_behaviour, + boost::optional<boost::filesystem::path> film_directory + ) const override; + dcpomatic::DCPTime full_length (std::shared_ptr<const Film> film) const override; dcpomatic::DCPTime approximate_length () const override; std::string identifier () const override; |
