diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-04 11:13:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-04 11:13:04 +0100 |
| commit | af87bfc82beee0b0600558c84c3843dfd5a252f6 (patch) | |
| tree | 6f0cb5a87ba4662ac1e23fae67589be9d374e4f6 /src/dcp.h | |
| parent | 09ad2806848f5c3609b7915da504f94db099e3af (diff) | |
Split metadata into XML and MXF bits; remove singleton.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -45,6 +45,7 @@ class SubtitleAsset; class Reel; class AssetMap; class CPL; +class XMLMetadata; /** @class DCP * @brief A class to create or read a DCP. @@ -74,7 +75,7 @@ public: /** Write the required XML files to the directory that was * passed into the constructor. */ - void write_xml () const; + void write_xml (XMLMetadata const &) const; /** Compare this DCP with another, according to various options. * @param other DCP to compare this one to. @@ -103,7 +104,7 @@ private: /** Write the PKL file. * @param pkl_uuid UUID to use. */ - std::string write_pkl (std::string pkl_uuid) const; + std::string write_pkl (std::string pkl_uuid, XMLMetadata const &) const; /** Write the VOLINDEX file */ void write_volindex () const; @@ -112,7 +113,7 @@ private: * @param pkl_uuid UUID of our PKL. * @param pkl_length Length of our PKL in bytes. */ - void write_assetmap (std::string pkl_uuid, int pkl_length) const; + void write_assetmap (std::string pkl_uuid, int pkl_length, XMLMetadata const &) const; /** @return Assets in all this CPLs in this DCP */ std::list<boost::shared_ptr<const Asset> > assets () const; |
