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-14 00:16:24 +0100
commitd8389c8d88d6ef1a95c96bd65d79c992a26b521f (patch)
treeec77bbbf729ce98687ffec938d40981baa6f8acb /src/lib/dcp_content.h
parent79af4bf968dcfc99a7e8d8b8fc3635dbccc754b3 (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