diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-01-17 17:51:54 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-01-17 17:51:54 +0000 |
| commit | bfc511b3e2fae3540db2679bfb4532cf4d1e6d05 (patch) | |
| tree | 5aaedb7ebee65a5251ef5cd7380e0892d821490f /src/cpl.h | |
| parent | 44791cafb91bfe1ee5c0a530c83d9f44b4d2f88f (diff) | |
New Asset and Object classes; make CPL use them.
Diffstat (limited to 'src/cpl.h')
| -rw-r--r-- | src/cpl.h | 13 |
1 files changed, 5 insertions, 8 deletions
@@ -30,6 +30,7 @@ #include "types.h" #include "certificates.h" #include "key.h" +#include "asset.h" namespace dcp { @@ -45,8 +46,10 @@ class MXFMetadata; class Signer; class KDM; -/** @brief A CPL within a DCP */ -class CPL +/** @class CPL + * @brief A Composition Playlist. + */ +class CPL : public Asset { public: CPL (boost::filesystem::path directory, std::string name, ContentKind content_kind, int length, int frames_per_second); @@ -88,10 +91,6 @@ public: void set_mxf_keys (Key); - std::string id () const { - return _id; - } - bool equals (CPL const & other, EqualityOptions options, boost::function<void (NoteType, std::string)> note) const; void write_xml (bool, XMLMetadata const &, boost::shared_ptr<const Signer>) const; @@ -115,8 +114,6 @@ private: /** reels */ std::list<boost::shared_ptr<Reel> > _reels; - /** our UUID */ - std::string _id; /** a SHA1 digest of our XML */ mutable std::string _digest; }; |
