X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ffilm_editor.h;h=a5232d2e54681bfb330f32c68c1694d6cec316ec;hb=d31674ec14bb533fe2b195601e9ee2fe03848487;hp=0e61f4898f7577dbcae7871b7ac0c18ba7850544;hpb=563fc75855b9649cf135cf137cc1b0c43ebc8286;p=dcpomatic.git diff --git a/src/wx/film_editor.h b/src/wx/film_editor.h index 0e61f4898..a5232d2e5 100644 --- a/src/wx/film_editor.h +++ b/src/wx/film_editor.h @@ -41,9 +41,9 @@ class FilmViewer; class FilmEditor : public wxPanel { public: - FilmEditor (wxWindow *, boost::weak_ptr viewer); + FilmEditor (wxWindow *, std::weak_ptr viewer); - void set_film (boost::shared_ptr); + void set_film (std::shared_ptr); void first_shown (); boost::signals2::signal FileChanged; @@ -55,10 +55,12 @@ public: return _content_panel; } - boost::shared_ptr film () const { + std::shared_ptr film () const { return _film; } +private: + /* Handle changes to the model */ void film_change (ChangeType, Film::Property); void film_content_change (ChangeType type, int); @@ -71,5 +73,5 @@ public: DCPPanel* _dcp_panel; /** The film we are editing */ - boost::shared_ptr _film; + std::shared_ptr _film; };