diff options
Diffstat (limited to 'src/lib/content.h')
| -rw-r--r-- | src/lib/content.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/content.h b/src/lib/content.h index 540abdd8a..29dce2c9e 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" @@ -75,7 +76,7 @@ public: explicit Content (); Content (dcpomatic::DCPTime); Content (boost::filesystem::path); - Content (cxml::ConstNodePtr); + Content (cxml::ConstNodePtr, boost::optional<boost::filesystem::path> directory); Content (std::vector<std::shared_ptr<Content>>); virtual ~Content () {} @@ -100,7 +101,13 @@ public: */ virtual std::string technical_summary () const; - virtual void as_xml (xmlpp::Node *, 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; |
