C++11 tidying.
[dcpomatic.git] / src / wx / download_certificate_dialog.h
index dcb0a952ae1f014e63afad3d67d982b9e55493ad..ef241a0cab5d046ba9b2edcfed25af74a6f34627 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 "lib/warnings.h"
+#include <dcp/certificate.h>
+DCPOMATIC_DISABLE_WARNINGS
 #include <wx/wx.h>
 #include <wx/notebook.h>
+DCPOMATIC_ENABLE_WARNINGS
 
 class DownloadCertificatePanel;
 
@@ -33,13 +37,20 @@ public:
 
        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;
 };