Fill test disk partitions with random noise to expose more bugs.
[dcpomatic.git] / src / wx / download_certificate_dialog.h
index dcb0a952ae1f014e63afad3d67d982b9e55493ad..12873c9443a546bcc3963980501bf90ab883b2c6 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2014-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2014-2018 Carl Hetherington <cth@carlh.net>
 
     This file is part of DCP-o-matic.
 
 
 */
 
+
+#include <dcp/certificate.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
 #include <wx/notebook.h>
+LIBDCP_ENABLE_WARNINGS
+
 
 class DownloadCertificatePanel;
 
@@ -30,16 +36,24 @@ public:
        ~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<DownloadCertificatePanel*> _pages;
-       std::vector<bool> _setup;
        wxButton* _download;
        wxStaticText* _message;
 };