Cleanup: extract sorted_cinemas().
[dcpomatic.git] / src / wx / player_information.h
index 84daf020dd01e9a9fccb9a613b069901d656b1e9..2ce49371431e3f6e8162aedd66105918e22a40d2 100644 (file)
 
 */
 
+
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 #include <boost/scoped_ptr.hpp>
 
+
 class FilmViewer;
 
+
 class PlayerInformation : public wxPanel
 {
 public:
-       PlayerInformation (wxWindow* parent, ControlFilmViewer* viewer);
+       PlayerInformation(wxWindow* parent, FilmViewer const& viewer);
 
        void triggered_update ();
 
@@ -34,9 +40,12 @@ private:
 
        void periodic_update ();
 
-       ControlFilmViewer* _viewer;
+       FilmViewer const& _viewer;
+       wxPanel* _kdm_panel;
        wxSizer* _sizer;
        wxStaticText** _dcp;
+       wxStaticText* _kdm_from;
+       wxStaticText* _kdm_to;
        wxStaticText* _dropped;
        wxStaticText* _decode_resolution;
        boost::scoped_ptr<wxTimer> _timer;