diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-27 14:41:33 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-27 14:41:33 +0000 |
| commit | 8c2f3517e868078b551bb01d975f2956cb692fbf (patch) | |
| tree | 81bf98f00b9a267a73494c1939c6e9473559c85e /src/dcp.h | |
| parent | e5d368553b47a566a83d4edce0a8f166db9509e6 (diff) | |
Various tinkerings.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -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; |
