Merge 1.70.0-hotfix branch into master.
[dcpomatic.git] / src / lib / dcp_content_type.h
index 14204bd722b6d167e5234e09e88eb331b97362ef..88f3c4a857e18d8e1574846906118ec1921c344f 100644 (file)
@@ -31,7 +31,7 @@
 /** @class DCPContentType
  *  @brief A description of the type of content for a DCP (e.g. feature, trailer etc.)
  */
-class DCPContentType
+class DCPContentType : public boost::noncopyable
 {
 public:
        DCPContentType (std::string, libdcp::ContentKind, std::string);
@@ -45,12 +45,12 @@ public:
                return _libdcp_kind;
        }
 
-       std::string dci_name () const {
-               return _dci_name;
+       std::string isdcf_name () const {
+               return _isdcf_name;
        }
 
        static DCPContentType const * from_pretty_name (std::string);
-       static DCPContentType const * from_dci_name (std::string);
+       static DCPContentType const * from_isdcf_name (std::string);
        static DCPContentType const * from_index (int);
        static int as_index (DCPContentType const *);
        static std::vector<DCPContentType const *> all ();
@@ -59,7 +59,7 @@ public:
 private:
        std::string _pretty_name;
        libdcp::ContentKind _libdcp_kind;
-       std::string _dci_name;
+       std::string _isdcf_name;
 
        /** All available DCP content types */
        static std::vector<DCPContentType const *> _dcp_content_types;