Various small fixes.
[dcpomatic.git] / src / wx / screen_dialog.h
index 78869782f93bd629274f804d6287465ff2b959c3..0cd7d3c4963f77da9ab7eb0f0bcb7b1cc073d1f2 100644 (file)
 */
 
 #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;
 };