summaryrefslogtreecommitdiff
path: root/src/lib/dcp_content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-03-01 22:41:56 +0100
committerCarl Hetherington <cth@carlh.net>2022-03-09 17:04:02 +0100
commit47d83b296248119d04b9226fd51a67e2fd3faac5 (patch)
treed9516f352dc28f1c42cc6e16247295611637ad42 /src/lib/dcp_content.h
parent161f7c27bd1aff63938a9512ab991de886691f97 (diff)
Improve ratings dialog to allow only valid values (#2199).
Diffstat (limited to 'src/lib/dcp_content.h')
-rw-r--r--src/lib/dcp_content.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h
index 69520fbd6..40ed181fe 100644
--- a/src/lib/dcp_content.h
+++ b/src/lib/dcp_content.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2014-2018 Carl Hetherington <cth@carlh.net>
+ Copyright (C) 2014-2022 Carl Hetherington <cth@carlh.net>
This file is part of DCP-o-matic.
@@ -18,16 +18,21 @@
*/
+
#ifndef DCPOMATIC_DCP_CONTENT_H
#define DCPOMATIC_DCP_CONTENT_H
+
/** @file src/lib/dcp_content.h
* @brief DCPContent class.
*/
+
#include "content.h"
#include <libcxml/cxml.h>
#include <dcp/encrypted_kdm.h>
+#include <dcp/rating.h>
+
class DCPContentProperty
{
@@ -42,7 +47,6 @@ public:
static int const CPL;
};
-class ContentPart;
/** @class DCPContent
* @brief An existing DCP used as input.
@@ -217,4 +221,5 @@ private:
std::vector<std::string> _content_versions;
};
+
#endif