*/
#include <wx/wx.h>
+#include <boost/scoped_ptr.hpp>
+#include <boost/weak_ptr.hpp>
class FilmViewer;
class PlayerInformation : public wxPanel
{
public:
- PlayerInformation (wxWindow* parent, FilmViewer* viewer);
+ PlayerInformation (wxWindow* parent, boost::weak_ptr<FilmViewer> viewer);
- void update ();
+ void triggered_update ();
private:
- FilmViewer* _viewer;
+ void periodic_update ();
+
+ boost::weak_ptr<FilmViewer> _viewer;
wxSizer* _sizer;
- wxStaticText* _cpl_name;
- wxStaticText* _size;
- wxStaticText* _length;
+ wxStaticText** _dcp;
+ wxStaticText* _dropped;
+ wxStaticText* _decode_resolution;
+ boost::scoped_ptr<wxTimer> _timer;
};