*/
+#include "lib/warnings.h"
+DCPOMATIC_DISABLE_WARNINGS
#include <wx/wx.h>
+DCPOMATIC_ENABLE_WARNINGS
#include <boost/scoped_ptr.hpp>
-class ControlFilmViewer;
+class FilmViewer;
class PlayerInformation : public wxPanel
{
public:
- PlayerInformation (wxWindow* parent, ControlFilmViewer* viewer);
+ PlayerInformation (wxWindow* parent, std::weak_ptr<FilmViewer> viewer);
void triggered_update ();
void periodic_update ();
- ControlFilmViewer* _viewer;
+ std::weak_ptr<FilmViewer> _viewer;
wxSizer* _sizer;
wxStaticText** _dcp;
wxStaticText* _dropped;