summaryrefslogtreecommitdiff
path: root/src/cpl.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-11 00:10:30 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-11 20:50:08 +0200
commit1a284b7c409567b6ecb223adece779487f70ac92 (patch)
treef36367b4444037e09b0224da3ea76dfcb248c241 /src/cpl.h
parent093525165f6397ba9eaffd19833dc978bcb32d55 (diff)
Extract some parts of ReelEncryptableAsset into ReelFileAsset
Diffstat (limited to 'src/cpl.h')
-rw-r--r--src/cpl.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/cpl.h b/src/cpl.h
index 586beb81..84dbd9ff 100644
--- a/src/cpl.h
+++ b/src/cpl.h
@@ -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;