summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-07 00:39:15 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-07 00:39:15 +0100
commit932b942a51bef4e2dd2de9f83aa5b68ad07f60f9 (patch)
tree40f81e0b4b2e04f46bab243e9c94ff24b8bcb2ef /src/dcp.h
parent4313456938d34d93239194e914b82e7a5ae14c1c (diff)
Working decryption via KDM.
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 7a9cb126..d7919e61 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -48,6 +48,7 @@ class Reel;
class CPL;
class XMLMetadata;
class Encryption;
+class KDM;
/** @class DCP
* @brief A class to create or read a DCP.
@@ -92,12 +93,14 @@ public:
void add_cpl (boost::shared_ptr<CPL> cpl);
/** @return The list of CPLs in this DCP */
- std::list<boost::shared_ptr<const CPL> > cpls () const {
+ std::list<boost::shared_ptr<CPL> > cpls () const {
return _cpls;
}
bool encrypted () const;
+ void add_kdm (KDM const &);
+
/** Emitted with a parameter between 0 and 1 to indicate progress
* for long jobs.
*/
@@ -131,7 +134,7 @@ private:
/** the directory that we are writing to */
std::string _directory;
/** our CPLs */
- std::list<boost::shared_ptr<const CPL> > _cpls;
+ std::list<boost::shared_ptr<CPL> > _cpls;
};
}