Add option to set project properties from a DCP loaded as content (#1688).
[dcpomatic.git] / src / lib / dcp_content.h
index b9c4d9ee511a0a0ea90c6119bb67ec09c28b52bb..6d707670f27eb6bc267d98cefe7bbcd487cdc31f 100644 (file)
@@ -156,6 +156,16 @@ public:
 
        bool kdm_timing_window_valid () const;
 
+       Resolution resolution () const;
+
+       std::vector<dcp::Rating> ratings () const {
+               return _ratings;
+       }
+
+       std::string content_version () const {
+               return _content_version;
+       }
+
 private:
        friend class reels_test5;
 
@@ -203,6 +213,8 @@ private:
        /** List of the lengths of the reels in this DCP */
        std::list<int64_t> _reel_lengths;
        std::map<dcp::Marker, dcpomatic::ContentTime> _markers;
+       std::vector<dcp::Rating> _ratings;
+       std::string _content_version;
 };
 
 #endif