diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-25 12:17:48 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-25 12:17:48 +0100 |
| commit | f976e8ac94dfc6130797c5d98a0399321dce43e7 (patch) | |
| tree | 82d310884c373efc3ef81862e89ffa15cb255392 /src/dcp.h | |
| parent | c74cdcf36955c77dc43d4e7a1d064d0bfcb631c7 (diff) | |
Untested interop DCP/KDM support.
Diffstat (limited to 'src/dcp.h')
| -rw-r--r-- | src/dcp.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -54,7 +54,7 @@ class KDM; * @brief A class to create or read a DCP. */ -class DCP +class DCP : public boost::noncopyable { public: /** Construct a DCP. You can pass an existing DCP's directory @@ -78,7 +78,7 @@ public: /** Write the required XML files to the directory that was * passed into the constructor. */ - void write_xml (XMLMetadata const &, boost::shared_ptr<Encryption> crypt = boost::shared_ptr<Encryption> ()) const; + void write_xml (XMLMetadata const &, bool interop = false, boost::shared_ptr<Encryption> crypt = boost::shared_ptr<Encryption> ()) const; /** Compare this DCP with another, according to various options. * @param other DCP to compare this one to. @@ -111,7 +111,7 @@ private: /** Write the PKL file. * @param pkl_uuid UUID to use. */ - std::string write_pkl (std::string pkl_uuid, XMLMetadata const &, boost::shared_ptr<Encryption>) const; + std::string write_pkl (std::string pkl_uuid, bool, XMLMetadata const &, boost::shared_ptr<Encryption>) const; /** Write the VOLINDEX file */ void write_volindex () const; @@ -120,7 +120,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, XMLMetadata const &) const; + void write_assetmap (std::string pkl_uuid, int pkl_length, bool, XMLMetadata const &) const; /** @return Assets in all this CPLs in this DCP */ std::list<boost::shared_ptr<const Asset> > assets () const; |
