Update for newer libdcp; add start of manual.
[dcpomatic.git] / src / lib / dcp_content_type.h
index 2c6d1879be59fd7f35dd7bf7f4e391f937d44cc4..cb858cf5a34975a169fcef5dc72b37c9fc438a2b 100644 (file)
 class DCPContentType
 {
 public:
-       DCPContentType (std::string, libdcp::DCP::ContentType);
+       DCPContentType (std::string, libdcp::ContentKind);
 
        /** @return user-visible `pretty' name */
        std::string pretty_name () const {
                return _pretty_name;
        }
 
-       libdcp::DCP::ContentType libdcp_type () const {
-               return _libdcp_type;
+       libdcp::ContentKind libdcp_kind () const {
+               return _libdcp_kind;
        }
 
        static DCPContentType const * from_pretty_name (std::string);
@@ -50,7 +50,7 @@ public:
 
 private:
        std::string _pretty_name;
-       libdcp::DCP::ContentType _libdcp_type;
+       libdcp::ContentKind _libdcp_kind;
 
        /** All available DCP content types */
        static std::vector<DCPContentType const *> _dcp_content_types;