diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-03-25 15:24:13 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-03-25 15:24:13 +0000 |
| commit | 0a62857e4412d294712cfdf227fa38ae9ef371fe (patch) | |
| tree | a5e32cdc0fc69acf6b36ef84fb6a3f525f03ac14 /src/wx/screen_dialog.h | |
| parent | 68215e4e2dc313b74da7bde187917add138d3c9f (diff) | |
Add support for downloading Doremi server certificates.
Diffstat (limited to 'src/wx/screen_dialog.h')
| -rw-r--r-- | src/wx/screen_dialog.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h index 271ae2055..1fcc8d564 100644 --- a/src/wx/screen_dialog.h +++ b/src/wx/screen_dialog.h @@ -1,5 +1,5 @@ /* - Copyright (C) 2012 Carl Hetherington <cth@carlh.net> + Copyright (C) 2012-2014 Carl Hetherington <cth@carlh.net> 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 @@ -21,6 +21,8 @@ #include <boost/shared_ptr.hpp> #include <libdcp/certificates.h> +class Progress; + class ScreenDialog : public wxDialog { public: @@ -30,11 +32,17 @@ public: boost::shared_ptr<libdcp::Certificate> certificate () const; private: - void load_certificate (); + void select_certificate (); + void load_certificate (boost::filesystem::path); + void download_certificate (); void setup_sensitivity (); wxTextCtrl* _name; - wxButton* _certificate_load; + wxChoice* _manufacturer; + wxTextCtrl* _serial; + Progress* _progress; + wxButton* _load_certificate; + wxButton* _download_certificate; wxTextCtrl* _certificate_text; boost::shared_ptr<libdcp::Certificate> _certificate; |
