Correctly spot that a DCP with unencrypted picture but encrypted sound/subtitle needs...
[dcpomatic.git] / src / lib / dcp_content.h
index f3a8236a2d4c0c77194640d4ec463c67a9bb2bc1..93a207ed782057f7ce5af9b3fa8ef77a3bef9728 100644 (file)
@@ -32,7 +32,8 @@
 class DCPContentProperty
 {
 public:
-       static int const CAN_BE_PLAYED;
+       static int const NEEDS_KDM;
+       static int const NEEDS_ASSETS;
        static int const REFERENCE_VIDEO;
        static int const REFERENCE_AUDIO;
        static int const REFERENCE_SUBTITLE;
@@ -62,8 +63,9 @@ public:
        void examine (boost::shared_ptr<Job>);
        std::string summary () const;
        std::string technical_summary () const;
-       void as_xml (xmlpp::Node *) const;
+       void as_xml (xmlpp::Node *, bool with_paths) const;
        std::string identifier () const;
+       void use_template (boost::shared_ptr<const Content> c);
 
        void set_default_colour_conversion ();
        std::list<DCPTime> reel_split_points () const;
@@ -119,6 +121,8 @@ public:
        }
 
 private:
+       friend class reels_test5;
+
        void add_properties (std::list<UserProperty>& p) const;
 
        void read_directory (boost::filesystem::path);