diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-07 00:39:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-07 00:39:15 +0100 |
| commit | 932b942a51bef4e2dd2de9f83aa5b68ad07f60f9 (patch) | |
| tree | 40f81e0b4b2e04f46bab243e9c94ff24b8bcb2ef /src/reel.h | |
| parent | 4313456938d34d93239194e914b82e7a5ae14c1c (diff) | |
Working decryption via KDM.
Diffstat (limited to 'src/reel.h')
| -rw-r--r-- | src/reel.h | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -30,17 +30,18 @@ namespace xmlpp { namespace libdcp { class PictureAsset; -class SoundAsset; -class SubtitleAsset; +class SoundAsset; +class SubtitleAsset; +class KDM; /** @brief A reel within a DCP; the part which actually contains picture, sound and subtitle data */ class Reel { public: Reel ( - boost::shared_ptr<const PictureAsset> picture, - boost::shared_ptr<const SoundAsset> sound, - boost::shared_ptr<const SubtitleAsset> subtitle + boost::shared_ptr<PictureAsset> picture, + boost::shared_ptr<SoundAsset> sound, + boost::shared_ptr<SubtitleAsset> subtitle ) : _main_picture (picture) , _main_sound (sound) @@ -65,10 +66,12 @@ public: bool equals (boost::shared_ptr<const Reel> other, EqualityOptions opt, boost::function<void (NoteType, std::string)> notes) const; + void add_kdm (KDM const &); + private: - boost::shared_ptr<const PictureAsset> _main_picture; - boost::shared_ptr<const SoundAsset> _main_sound; - boost::shared_ptr<const SubtitleAsset> _main_subtitle; + boost::shared_ptr<PictureAsset> _main_picture; + boost::shared_ptr<SoundAsset> _main_sound; + boost::shared_ptr<SubtitleAsset> _main_subtitle; }; } |
