X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fdownload_certificate_dialog.h;h=12873c9443a546bcc3963980501bf90ab883b2c6;hb=1266a5149e056a17b4a9276ccf6ea4a79cc93610;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..12873c944 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,42 @@ */ + +#include +#include +LIBDCP_DISABLE_WARNINGS #include #include +LIBDCP_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; };