X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fdownload_certificate_dialog.h;h=a2fbf808f768b39c77e5f56a1e9e7ea0cff57ac9;hp=cae5f59d87ec3bbaf4d55c0edfeb7cf4406cbba3;hb=386e25f3b9d3fa59cbdeed458d9b3e0d21e338b8;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05 diff --git a/src/wx/download_certificate_dialog.h b/src/wx/download_certificate_dialog.h index cae5f59d8..a2fbf808f 100644 --- a/src/wx/download_certificate_dialog.h +++ b/src/wx/download_certificate_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2014-2015 Carl Hetherington + Copyright (C) 2014-2018 Carl Hetherington This file is part of DCP-o-matic. @@ -18,6 +18,7 @@ */ +#include #include #include @@ -26,20 +27,27 @@ class DownloadCertificatePanel; class DownloadCertificateDialog : public wxDialog { public: - DownloadCertificateDialog (wxWindow* parent); + explicit DownloadCertificateDialog (wxWindow* parent); ~DownloadCertificateDialog (); dcp::Certificate certificate () const; void setup_sensitivity (); + wxNotebook* notebook () const { + return _notebook; + } + + wxStaticText* message () const { + return _message; + } + private: void download (); void page_changed (wxNotebookEvent &); wxNotebook* _notebook; std::vector _pages; - std::vector _setup; wxButton* _download; wxStaticText* _message; };