Re-allow audio channel 15 to be mapped so that users can add
[dcpomatic.git] / src / lib / dcp_content.h
index 8658ac5ed83e3358094709f1166215aabe9004f9..473dbae36df5f16d7f3f4b0079a685bfc988be54 100644 (file)
@@ -158,8 +158,16 @@ public:
 
        Resolution resolution () const;
 
+       std::vector<dcp::Rating> ratings () const {
+               return _ratings;
+       }
+
+       std::vector<std::string> content_versions () const {
+               return _content_versions;
+       }
+
 private:
-       friend class reels_test5;
+       friend struct reels_test5;
 
        void add_properties (boost::shared_ptr<const Film> film, std::list<UserProperty>& p) const;
 
@@ -205,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::vector<std::string> _content_versions;
 };
 
 #endif