diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-11 00:10:30 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-11 20:50:08 +0200 |
| commit | 1a284b7c409567b6ecb223adece779487f70ac92 (patch) | |
| tree | f36367b4444037e09b0224da3ea76dfcb248c241 /src/cpl.h | |
| parent | 093525165f6397ba9eaffd19833dc978bcb32d55 (diff) | |
Extract some parts of ReelEncryptableAsset into ReelFileAsset
Diffstat (limited to 'src/cpl.h')
| -rw-r--r-- | src/cpl.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -60,6 +60,7 @@ namespace dcp { class ReelEncryptableAsset; +class ReelFileAsset; class Reel; class MXFMetadata; class CertificateChain; @@ -99,9 +100,13 @@ public: return _reels; } + /** @return the ReelFileAssets in this CPL in all reels */ + std::vector<std::shared_ptr<const ReelFileAsset>> reel_file_assets () const; + std::vector<std::shared_ptr<ReelFileAsset>> reel_file_assets (); + /** @return the ReelEncryptableAssets in this CPL in all reels */ - std::vector<std::shared_ptr<const ReelEncryptableAsset>> reel_file_assets () const; - std::vector<std::shared_ptr<ReelEncryptableAsset>> reel_file_assets (); + std::vector<std::shared_ptr<const ReelEncryptableAsset>> reel_encryptable_assets () const; + std::vector<std::shared_ptr<ReelEncryptableAsset>> reel_encryptable_assets (); /** @return true if we have any encrypted content */ bool any_encrypted () const; |
