summaryrefslogtreecommitdiff
path: root/src/dcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dcp.h')
-rw-r--r--src/dcp.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/dcp.h b/src/dcp.h
index 3f4c8418..9d8a5415 100644
--- a/src/dcp.h
+++ b/src/dcp.h
@@ -82,6 +82,11 @@ public:
std::list<boost::shared_ptr<CPL> > cpls () const;
+ /** @return All this DCP's assets (note that CPLs are assets) */
+ std::list<boost::shared_ptr<Asset> > assets () const {
+ return _assets;
+ }
+
bool encrypted () const;
void add (KDM const &);
@@ -102,7 +107,12 @@ private:
/** Write the PKL file.
* @param pkl_uuid UUID to use.
*/
- boost::filesystem::path write_pkl (Standard standard, std::string pkl_uuid, XMLMetadata metadata, boost::shared_ptr<const Signer> signer) const;
+ boost::filesystem::path write_pkl (
+ Standard standard,
+ std::string pkl_uuid,
+ XMLMetadata metadata,
+ boost::shared_ptr<const Signer> signer
+ ) const;
void write_volindex (Standard standard) const;