X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.h;h=5c6d964b8297681405d501543c14843f463d5253;hb=40b654453c2ce0b266f43c36f1b9a5d1705f983c;hp=72a315062fbfdfaadcc59423f147704a6b94a61f;hpb=f58d9e44302151dea9f594acd9fc27a331fa77fb;p=dcpomatic.git diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h index 72a315062..5c6d964b8 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 @@ -19,9 +19,12 @@ #include #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 = "", boost::shared_ptr c = boost::shared_ptr ()); @@ -30,11 +33,15 @@ public: boost::shared_ptr 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; + wxButton* _load_certificate; + wxButton* _download_certificate; wxTextCtrl* _certificate_text; boost::shared_ptr _certificate;