#define LIBDCP_CPL_H
#include "types.h"
-#include "certificates.h"
+#include "certificate.h"
#include "key.h"
#include "asset.h"
#include "metadata.h"
#include <list>
namespace dcp {
-
+
class ReelAsset;
class Reel;
class XMLMetadata;
class MXFMetadata;
-class Signer;
+class CertificateChain;
class DecryptedKDM;
-
+
/** @class CPL
* @brief A Composition Playlist.
*/
CPL (boost::filesystem::path file);
bool equals (
- CPL const & other,
+ boost::shared_ptr<const Asset> other,
EqualityOptions options,
- boost::function<void (NoteType, std::string)> note
+ NoteHandler note
) const;
void add (boost::shared_ptr<Reel> reel);
std::string annotation_text () const {
return _annotation_text;
}
-
+
/** @return contents of the <ContentTitleText> node */
std::string content_title_text () const {
return _content_title_text;
void set_content_version_label_text (std::string text) {
_content_version_label_text = text;
}
-
+
/** @return the type of the content, used by media servers
* to categorise things (e.g. feature, trailer, etc.)
*/
bool encrypted () const;
- void set_mxf_keys (Key);
void set_metadata (XMLMetadata m) {
_metadata = m;
}
void write_xml (
boost::filesystem::path file,
Standard standard,
- boost::shared_ptr<const Signer>
+ boost::shared_ptr<const CertificateChain>
) const;
void resolve_refs (std::list<boost::shared_ptr<Object> >);