Get prefs icons from the source tree on when starting from the macOS console.
[dcpomatic.git] / src / wx / player_information.h
index b932281746b0fe37c2e00c4860f3ce8d58935404..2ce49371431e3f6e8162aedd66105918e22a40d2 100644 (file)
 
 */
 
+
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 #include <boost/scoped_ptr.hpp>
-#include <boost/weak_ptr.hpp>
+
 
 class FilmViewer;
 
+
 class PlayerInformation : public wxPanel
 {
 public:
-       PlayerInformation (wxWindow* parent, boost::weak_ptr<FilmViewer> viewer);
+       PlayerInformation(wxWindow* parent, FilmViewer const& viewer);
 
        void triggered_update ();
 
@@ -35,9 +40,12 @@ private:
 
        void periodic_update ();
 
-       boost::weak_ptr<FilmViewer> _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;