summaryrefslogtreecommitdiff
path: root/src/wx/screen_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-01-14 21:49:40 +0000
committerCarl Hetherington <cth@carlh.net>2013-01-14 21:49:40 +0000
commit048f9b6b5569f03d1342a04f75c83a2bad340996 (patch)
tree2e9db97154b82b91a7a6ff1002d317f35d11608d /src/wx/screen_dialog.h
parent3031638f0ddf23654b72af2088a7616791307310 (diff)
Various work on certificate handling for screens; need XML config here, now.
Diffstat (limited to 'src/wx/screen_dialog.h')
-rw-r--r--src/wx/screen_dialog.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h
index 78869782f..1bd4a89a9 100644
--- a/src/wx/screen_dialog.h
+++ b/src/wx/screen_dialog.h
@@ -18,14 +18,23 @@
*/
#include <wx/wx.h>
+#include <boost/shared_ptr.hpp>
+#include <libdcp/certificates.h>
class ScreenDialog : public wxDialog
{
public:
- ScreenDialog (wxWindow *, std::string, std::string name = "");
+ ScreenDialog (wxWindow *, std::string, std::string name = "", boost::shared_ptr<libdcp::Certificate> c = boost::shared_ptr<libdcp::Certificate> ());
std::string name () const;
+ boost::shared_ptr<libdcp::Certificate> certificate () const;
private:
+ void load_certificate (wxCommandEvent &);
+
wxTextCtrl* _name;
+ wxButton* _certificate_load;
+ wxTextCtrl* _certificate_text;
+
+ boost::shared_ptr<libdcp::Certificate> _certificate;
};