diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-08-30 17:27:22 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-08-30 17:27:22 +0100 |
| commit | ff38c8737a36e5aced5f2dede5bccd2832fc446a (patch) | |
| tree | 652a0548b76cfff2f4e7438c477cd4ac18f7a089 /src/cpl.h | |
| parent | d0e025d26cab0eecfea1528343638dac69f363cd (diff) | |
Partial.rework-again
Diffstat (limited to 'src/cpl.h')
| -rw-r--r-- | src/cpl.h | 18 |
1 files changed, 4 insertions, 14 deletions
@@ -49,15 +49,7 @@ class CPL { public: CPL (std::string annotation_text, std::string content_title_text, ContentKind content_kind); - CPL (boost::filesystem::path file, std::list<PathAssetMap> asset_maps, bool require_mxfs = true); - - void add_reel (boost::shared_ptr<Reel> reel); - - std::list<boost::shared_ptr<Reel> > reels () const { - return _reels; - } - - std::list<boost::shared_ptr<const Asset> > assets () const; + CPL (boost::filesystem::path file); bool encrypted () const; @@ -87,16 +79,14 @@ public: /* Properties */ std::string annotation_text; + std::string issue_date; + std::string creator; std::string content_title_text; /** The type of the content, used by media servers to categorise things (e.g. feature, trailer, etc.) */ ContentKind content_kind; + std::list<boost::shared_ptr<Reel> > reels; private: - std::pair<std::string, boost::shared_ptr<const parse::AssetMapAsset> > asset_from_id (std::list<PathAssetMap>, std::string id) const; - - /** reels */ - std::list<boost::shared_ptr<Reel> > _reels; - /** our UUID */ std::string _id; |
