X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.h;h=3e110d230bb4c48bfa6e9fe16e8de939c12efb33;hb=a5e87b6f0f496f4ed71d9129d40a5baebb68495f;hp=78869782f93bd629274f804d6287465ff2b959c3;hpb=7f8062032e16d9c9cfc28659a6da67f8205dc27b;p=dcpomatic.git diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h index 78869782f..3e110d230 100644 --- a/src/wx/screen_dialog.h +++ b/src/wx/screen_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington + Copyright (C) 2012-2014 Carl Hetherington This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -18,14 +18,31 @@ */ #include +#include +#include +#include "table_dialog.h" -class ScreenDialog : public wxDialog +class Progress; + +class ScreenDialog : public TableDialog { public: - ScreenDialog (wxWindow *, std::string, std::string name = ""); + ScreenDialog (wxWindow *, std::string, std::string name = "", boost::optional c = boost::optional ()); std::string name () const; + boost::optional certificate () const; private: + void select_certificate (); + void load_certificate (boost::filesystem::path); + void download_certificate (); + void setup_sensitivity (); + wxTextCtrl* _name; + wxChoice* _manufacturer; + wxButton* _load_certificate; + wxButton* _download_certificate; + wxTextCtrl* _certificate_text; + + boost::optional _certificate; };