X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fscreen_dialog.h;h=3601a8f6c133e57a556ce22db289fa5bd732629a;hb=931fa4ef2dbfb7c9f726c4dd41eea79621b49906;hp=1bd4a89a92cb976002ac735bd3371b1be26d579f;hpb=089b90439e745a218494e76b45e7df6215af01df;p=dcpomatic.git diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h index 1bd4a89a9..3601a8f6c 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 @@ -20,8 +20,11 @@ #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,10 +33,15 @@ public: boost::shared_ptr certificate () const; private: - void load_certificate (wxCommandEvent &); + 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;