diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/verify.cc | 4 | ||||
| -rw-r--r-- | src/verify.h | 12 |
2 files changed, 13 insertions, 3 deletions
diff --git a/src/verify.cc b/src/verify.cc index ba0007db..0003e0a6 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -1810,7 +1810,7 @@ verify_assetmap(Context& context, shared_ptr<const DCP> dcp) } -vector<VerificationNote> +dcp::VerifyResult dcp::verify ( vector<boost::filesystem::path> directories, vector<dcp::DecryptedKDM> kdms, @@ -1891,7 +1891,7 @@ dcp::verify ( } } - return notes; + return { notes, dcps }; } diff --git a/src/verify.h b/src/verify.h index 2adb47d2..77c5392b 100644 --- a/src/verify.h +++ b/src/verify.h @@ -58,6 +58,9 @@ namespace dcp { +class DCP; + + class VerificationNote { public: @@ -659,7 +662,14 @@ struct VerificationOptions }; -std::vector<VerificationNote> verify ( +struct VerifyResult +{ + std::vector<VerificationNote> notes; + std::vector<std::shared_ptr<dcp::DCP>> dcps; +}; + + +VerifyResult verify( std::vector<boost::filesystem::path> directories, std::vector<dcp::DecryptedKDM> kdms, boost::function<void (std::string, boost::optional<boost::filesystem::path>)> stage, |
