Merge master; specify libdcp-1.0.
[dcpomatic.git] / src / wx / screen_dialog.h
index 1bd4a89a92cb976002ac735bd3371b1be26d579f..72a315062fbfdfaadcc59423f147704a6b94a61f 100644 (file)
 class ScreenDialog : public wxDialog
 {
 public:
-       ScreenDialog (wxWindow *, std::string, std::string name = "", boost::shared_ptr<libdcp::Certificate> c = boost::shared_ptr<libdcp::Certificate> ());
+       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<libdcp::Certificate> certificate () const;
+       boost::shared_ptr<dcp::Certificate> certificate () const;
        
 private:
-       void load_certificate (wxCommandEvent &);
+       void load_certificate ();
+       void setup_sensitivity ();
        
        wxTextCtrl* _name;
        wxButton* _certificate_load;
        wxTextCtrl* _certificate_text;
 
-       boost::shared_ptr<libdcp::Certificate> _certificate;
+       boost::shared_ptr<dcp::Certificate> _certificate;
 };