*/
#include <wx/wx.h>
+#include <boost/shared_ptr.hpp>
+#include <dcp/certificates.h>
class ScreenDialog : public wxDialog
{
public:
- ScreenDialog (wxWindow *, std::string, std::string name = "");
+ ScreenDialog (wxWindow *, std::string, std::string name = "", boost::shared_ptr<dcp::Certificate> c = boost::shared_ptr<dcp::Certificate> ());
std::string name () const;
+ boost::shared_ptr<dcp::Certificate> certificate () const;
private:
+ void load_certificate ();
+ void setup_sensitivity ();
+
wxTextCtrl* _name;
+ wxButton* _certificate_load;
+ wxTextCtrl* _certificate_text;
+
+ boost::shared_ptr<dcp::Certificate> _certificate;
};