Merge FilmState / Film.
[dcpomatic.git] / src / lib / dcp_content_type.h
index cb858cf5a34975a169fcef5dc72b37c9fc438a2b..2b6e60a19cb902b701b9075c5797d34f28f575f5 100644 (file)
@@ -17,6 +17,9 @@
 
 */
 
+#ifndef DVDOMATIC_DCP_CONTENT_TYPE_H
+#define DVDOMATIC_DCP_CONTENT_TYPE_H
+
 /** @file src/content_type.h
  *  @brief A description of the type of content for a DCP (e.g. feature, trailer etc.)
  */
@@ -31,7 +34,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 +45,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,8 +58,10 @@ 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;
 };
      
+#endif