X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fdcp_content_type.h;h=f45bbb9f87808bed7a8fe5a0d5241943dedb81fe;hb=b249700e1da7dd6631a8b4440587f4093a2bdef1;hp=eea698217ca5e59a79e0addbed9e1bf4211cf62f;hpb=f525fad0c38e198f35055e639184fa983a3d5d56;p=dcpomatic.git diff --git a/src/lib/dcp_content_type.h b/src/lib/dcp_content_type.h index eea698217..f45bbb9f8 100644 --- a/src/lib/dcp_content_type.h +++ b/src/lib/dcp_content_type.h @@ -18,25 +18,32 @@ */ + #ifndef DCPOMATIC_DCP_CONTENT_TYPE_H #define DCPOMATIC_DCP_CONTENT_TYPE_H + /** @file src/dcp_content_type.h * @brief DCPContentType class. */ + #include #include #include + /** @class DCPContentType * @brief A description of the type of content for a DCP (e.g. feature, trailer etc.) */ -class DCPContentType : public boost::noncopyable +class DCPContentType { public: DCPContentType (std::string, dcp::ContentKind, std::string); + DCPContentType (DCPContentType const&) = delete; + DCPContentType& operator= (DCPContentType const&) = delete; + /** @return user-visible `pretty' name */ std::string pretty_name () const { return _pretty_name; @@ -66,4 +73,5 @@ private: static std::vector _dcp_content_types; }; + #endif