projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove use of boost::noncopyable.
[dcpomatic.git]
/
src
/
lib
/
dcp_content_type.h
diff --git
a/src/lib/dcp_content_type.h
b/src/lib/dcp_content_type.h
index eea698217ca5e59a79e0addbed9e1bf4211cf62f..f45bbb9f87808bed7a8fe5a0d5241943dedb81fe 100644
(file)
--- 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
#ifndef DCPOMATIC_DCP_CONTENT_TYPE_H
#define DCPOMATIC_DCP_CONTENT_TYPE_H
+
/** @file src/dcp_content_type.h
* @brief DCPContentType class.
*/
/** @file src/dcp_content_type.h
* @brief DCPContentType class.
*/
+
#include <dcp/dcp.h>
#include <string>
#include <vector>
#include <dcp/dcp.h>
#include <string>
#include <vector>
+
/** @class DCPContentType
* @brief A description of the type of content for a DCP (e.g. feature, trailer etc.)
*/
/** @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);
{
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;
/** @return user-visible `pretty' name */
std::string pretty_name () const {
return _pretty_name;
@@
-66,4
+73,5
@@
private:
static std::vector<DCPContentType const *> _dcp_content_types;
};
static std::vector<DCPContentType const *> _dcp_content_types;
};
+
#endif
#endif