X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fplayer_information.h;fp=src%2Fwx%2Fplayer_information.h;h=b932281746b0fe37c2e00c4860f3ce8d58935404;hb=c370a1f38215f6461cf4366e6885757e7aa2b96a;hp=f82cd7aa4b1d2198afc531ff11dee20a96b32361;hpb=23b60bec13fa8f0b88c34922a169aa0084d99476;p=dcpomatic.git diff --git a/src/wx/player_information.h b/src/wx/player_information.h index f82cd7aa4..b93228174 100644 --- a/src/wx/player_information.h +++ b/src/wx/player_information.h @@ -20,13 +20,14 @@ #include #include +#include -class ControlFilmViewer; +class FilmViewer; class PlayerInformation : public wxPanel { public: - PlayerInformation (wxWindow* parent, ControlFilmViewer* viewer); + PlayerInformation (wxWindow* parent, boost::weak_ptr viewer); void triggered_update (); @@ -34,7 +35,7 @@ private: void periodic_update (); - ControlFilmViewer* _viewer; + boost::weak_ptr _viewer; wxSizer* _sizer; wxStaticText** _dcp; wxStaticText* _dropped;