diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-02-20 23:10:50 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-02-23 01:47:38 +0100 |
| commit | 81d8c747c7a04be10821223dea69faf058b05b1d (patch) | |
| tree | 98f58e45012c3133e719024fe8c84d7b9c691811 /src/wx/verify_dcp_result_panel.h | |
| parent | 6628b2573f601b7448da169453d5f113534e525e (diff) | |
Allow verification of multiple DCPs in one go (#2843).
Diffstat (limited to 'src/wx/verify_dcp_result_panel.h')
| -rw-r--r-- | src/wx/verify_dcp_result_panel.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/wx/verify_dcp_result_panel.h b/src/wx/verify_dcp_result_panel.h index 8cf92118b..fe75bfe35 100644 --- a/src/wx/verify_dcp_result_panel.h +++ b/src/wx/verify_dcp_result_panel.h @@ -27,7 +27,7 @@ class Button; class VerifyDCPJob; -class wxRichTextCtrl; +class wxTreeCtrl; class VerifyDCPResultPanel : public wxPanel @@ -35,16 +35,19 @@ class VerifyDCPResultPanel : public wxPanel public: VerifyDCPResultPanel(wxWindow* parent); - void fill(std::shared_ptr<VerifyDCPJob> job); + void add(std::vector<std::shared_ptr<const VerifyDCPJob>> job); private: + std::map<dcp::VerificationNote::Type, int> add(std::shared_ptr<const VerifyDCPJob> job, bool many); void save_text_report(); void save_html_report(); wxStaticText* _summary; - std::map<dcp::VerificationNote::Type, wxRichTextCtrl*> _pages; + std::map<dcp::VerificationNote::Type, wxTreeCtrl*> _pages; Button* _save_text_report; Button* _save_html_report; - std::shared_ptr<VerifyDCPJob> _job; + std::vector<std::shared_ptr<const VerifyDCPJob>> _jobs; + + std::vector<dcp::VerificationNote::Type> _types; }; |
