summaryrefslogtreecommitdiff
path: root/src/wx/verify_dcp_result_panel.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-04-09 22:11:56 +0200
committerCarl Hetherington <cth@carlh.net>2024-04-16 00:39:05 +0200
commit91b6f5b7921c7af26c0bb04074d603a712f0e9d4 (patch)
tree2de6bc426141d7fb321391e0ef4ce4a616572330 /src/wx/verify_dcp_result_panel.h
parentb3a03888285d1f97253a6ed7e1438d5a2781fab9 (diff)
Split VerifyDCPResultPanel so that construction and fill are separate.
Diffstat (limited to 'src/wx/verify_dcp_result_panel.h')
-rw-r--r--src/wx/verify_dcp_result_panel.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/wx/verify_dcp_result_panel.h b/src/wx/verify_dcp_result_panel.h
index 7fd7a91d3..f0a502064 100644
--- a/src/wx/verify_dcp_result_panel.h
+++ b/src/wx/verify_dcp_result_panel.h
@@ -19,15 +19,24 @@
*/
+#include <dcp/verify.h>
#include <wx/wx.h>
+#include <map>
#include <memory>
class VerifyDCPJob;
+class wxRichTextCtrl;
class VerifyDCPResultPanel : public wxPanel
{
public:
- VerifyDCPResultPanel(wxWindow* parent, std::shared_ptr<VerifyDCPJob> job);
+ VerifyDCPResultPanel(wxWindow* parent);
+
+ void fill(std::shared_ptr<VerifyDCPJob> job);
+
+private:
+ wxStaticText* _summary;
+ std::map<dcp::VerificationNote::Type, wxRichTextCtrl*> _pages;
};