Use ScopeGuard for _no_check_selection
[dcpomatic.git] / src / wx / player_information.h
index 7eafeb122cfb25f3f61c3fedce044a4133ab9871..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, FilmViewer* viewer);
+       PlayerInformation(wxWindow* parent, FilmViewer const& viewer);
 
        void triggered_update ();
 
@@ -34,11 +40,13 @@ private:
 
        void periodic_update ();
 
-       FilmViewer* _viewer;
+       FilmViewer const& _viewer;
+       wxPanel* _kdm_panel;
        wxSizer* _sizer;
-       wxStaticText* _cpl_name;
-       wxStaticText* _size;
-       wxStaticText* _length;
+       wxStaticText** _dcp;
+       wxStaticText* _kdm_from;
+       wxStaticText* _kdm_to;
        wxStaticText* _dropped;
+       wxStaticText* _decode_resolution;
        boost::scoped_ptr<wxTimer> _timer;
 };