From 8c2f3517e868078b551bb01d975f2956cb692fbf Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 27 Jan 2014 14:41:33 +0000 Subject: Various tinkerings. --- src/dcp.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/dcp.h') 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 > cpls () const; + /** @return All this DCP's assets (note that CPLs are assets) */ + std::list > 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 signer) const; + boost::filesystem::path write_pkl ( + Standard standard, + std::string pkl_uuid, + XMLMetadata metadata, + boost::shared_ptr signer + ) const; void write_volindex (Standard standard) const; -- cgit v1.2.3