summaryrefslogtreecommitdiff
path: root/src/wx/verify_dcp_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-01-13 00:29:56 +0100
committerCarl Hetherington <cth@carlh.net>2026-01-13 00:35:30 +0100
commitdd0d98fefd7520752a603ff262aae293c50a917c (patch)
tree8b283a7b2ad94fd5324758d21f097972e14d480e /src/wx/verify_dcp_dialog.h
parent501096cb9a14e1722ee3d84ecdbd41f79df6467a (diff)
Add context menu option to verify DCPs from the main DoM (#2054).
Diffstat (limited to 'src/wx/verify_dcp_dialog.h')
-rw-r--r--src/wx/verify_dcp_dialog.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/wx/verify_dcp_dialog.h b/src/wx/verify_dcp_dialog.h
index ffed80b91..3f7aebfb9 100644
--- a/src/wx/verify_dcp_dialog.h
+++ b/src/wx/verify_dcp_dialog.h
@@ -19,6 +19,8 @@
*/
+#include <dcp/decrypted_kdm.h>
+#include <dcp/encrypted_kdm.h>
#include <dcp/warnings.h>
LIBDCP_DISABLE_WARNINGS
#include <wx/wx.h>
@@ -41,10 +43,18 @@ public:
wxWindow* parent,
wxString title,
std::vector<boost::filesystem::path> dcp_directories,
+ std::vector<dcp::EncryptedKDM> const& kdms
+ );
+
+ VerifyDCPDialog(
+ wxWindow* parent,
+ wxString title,
+ std::vector<boost::filesystem::path> dcp_directories,
std::vector<boost::filesystem::path> kdms
);
private:
+ void setup();
void verify_clicked();
void cancel_clicked();
@@ -55,7 +65,7 @@ private:
Button* _verify;
bool _cancel_pending;
std::vector<boost::filesystem::path> _dcp_directories;
- std::vector<boost::filesystem::path> _kdms;
+ std::vector<dcp::DecryptedKDM> _kdms;
};