diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-21 16:53:58 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-21 16:53:58 +0100 |
| commit | ac35bf2a80c9afae9dc5fcb0261929053162f44d (patch) | |
| tree | 278ecb512c1dcc090b6e3fb38acf198afdb2b579 /src/wx/screen_dialog.h | |
| parent | 504d613d3d7e8fbd3135e4e479ced1f51f520a04 (diff) | |
Adapt to changes in libdcp1 wrt shared_ptr and Certificate.
Diffstat (limited to 'src/wx/screen_dialog.h')
| -rw-r--r-- | src/wx/screen_dialog.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wx/screen_dialog.h b/src/wx/screen_dialog.h index 5c6d964b8..3e110d230 100644 --- a/src/wx/screen_dialog.h +++ b/src/wx/screen_dialog.h @@ -27,10 +27,10 @@ class Progress; class ScreenDialog : public TableDialog { public: - ScreenDialog (wxWindow *, std::string, std::string name = "", boost::shared_ptr<dcp::Certificate> c = boost::shared_ptr<dcp::Certificate> ()); + ScreenDialog (wxWindow *, std::string, std::string name = "", boost::optional<dcp::Certificate> c = boost::optional<dcp::Certificate> ()); std::string name () const; - boost::shared_ptr<dcp::Certificate> certificate () const; + boost::optional<dcp::Certificate> certificate () const; private: void select_certificate (); @@ -44,5 +44,5 @@ private: wxButton* _download_certificate; wxTextCtrl* _certificate_text; - boost::shared_ptr<dcp::Certificate> _certificate; + boost::optional<dcp::Certificate> _certificate; }; |
