X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdownload_certificate_dialog.h;h=a5085e174fe2035945958b736719ba4004425dca;hb=8c39f950ec8f8b3cf4d258279ab499d7e71dafc8;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..a5085e174 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,40 @@ */ +#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; + std::string url () 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; };