Tidy up test film naming.
[dcpomatic.git] / src / lib / dcp_content_type.h
index cb858cf5a34975a169fcef5dc72b37c9fc438a2b..b703970a3c7fb6811a3a31f3a051e0296398d51d 100644 (file)
@@ -31,7 +31,7 @@
 class DCPContentType
 {
 public:
-       DCPContentType (std::string, libdcp::ContentKind);
+       DCPContentType (std::string, libdcp::ContentKind, std::string);
 
        /** @return user-visible `pretty' name */
        std::string pretty_name () const {
@@ -42,6 +42,10 @@ public:
                return _libdcp_kind;
        }
 
+       std::string dci_name () const {
+               return _dci_name;
+       }
+
        static DCPContentType const * from_pretty_name (std::string);
        static DCPContentType const * from_index (int);
        static int as_index (DCPContentType const *);
@@ -51,6 +55,7 @@ public:
 private:
        std::string _pretty_name;
        libdcp::ContentKind _libdcp_kind;
+       std::string _dci_name;
 
        /** All available DCP content types */
        static std::vector<DCPContentType const *> _dcp_content_types;