X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdownload_certificate_dialog.h;h=ef241a0cab5d046ba9b2edcfed25af74a6f34627;hb=e72a69ac2ebf24df05ba4b6de65bfa338a58b0ec;hp=cae5f59d87ec3bbaf4d55c0edfeb7cf4406cbba3;hpb=3828baf56467224f5d44049bf1e7a7ed11f43a05;p=dcpomatic.git diff --git a/src/wx/download_certificate_dialog.h b/src/wx/download_certificate_dialog.h index cae5f59d8..ef241a0ca 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,28 +18,39 @@ */ +#include "lib/warnings.h" +#include +DCPOMATIC_DISABLE_WARNINGS #include #include +DCPOMATIC_ENABLE_WARNINGS 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; };