X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fcontent.h;h=d0a0466af5c58880eb7b1cd82319987c38233f75;hb=fe56f4e0ac26fbe1bea8d7b07f61dcc26cc26984;hp=6b647790f2d635b9a038b5038513f40fce96dd8e;hpb=291e2fe2e7df95019feba8097b68b31ec64be794;p=dcpomatic.git diff --git a/src/lib/content.h b/src/lib/content.h index 6b647790f..d0a0466af 100644 --- a/src/lib/content.h +++ b/src/lib/content.h @@ -28,7 +28,6 @@ #include "types.h" #include "signaller.h" #include "dcpomatic_time.h" -#include "raw_convert.h" #include "user_property.h" #include #include @@ -77,6 +76,8 @@ public: */ virtual void examine (boost::shared_ptr job); + virtual void use_template (boost::shared_ptr c); + /** @return Quick one-line summary of the content, as will be presented in the * film editor. */ @@ -87,7 +88,7 @@ public: */ virtual std::string technical_summary () const; - virtual void as_xml (xmlpp::Node *) const; + virtual void as_xml (xmlpp::Node *, bool with_paths) const; virtual DCPTime full_length () const = 0; virtual std::string identifier () const; /** @return points at which to split this content when @@ -98,6 +99,7 @@ public: boost::shared_ptr clone () const; void set_path (boost::filesystem::path); + void set_paths (std::vector paths); std::string path_summary () const; @@ -120,7 +122,7 @@ public: /** @return Digest of the content's file(s). Note: this is * not a complete MD5-or-whatever hash, but a sort of poor - * man's version (see comments in ::examine). + * man's version (see comments in examine()). */ std::string digest () const { boost::mutex::scoped_lock lm (_mutex);