X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsimple_video_view.h;h=31756b5d85eceecbe62a693a5ed524adeb6edf5f;hb=6d716e405a0781c3d6cdc37d3718a8858faf3dd9;hp=643c782b80d554fa441c391ff40315c7fcbc38e3;hpb=ef5be12ec33d0a7e5348979c7db8088dd3afab47;p=dcpomatic.git diff --git a/src/wx/simple_video_view.h b/src/wx/simple_video_view.h index 643c782b8..31756b5d8 100644 --- a/src/wx/simple_video_view.h +++ b/src/wx/simple_video_view.h @@ -20,8 +20,11 @@ #include "video_view.h" #include "lib/position.h" +#include "lib/warnings.h" #include +DCPOMATIC_DISABLE_WARNINGS #include +DCPOMATIC_ENABLE_WARNINGS class FilmViewer; @@ -36,10 +39,10 @@ public: void update (); void start (); - bool display_next_frame (bool non_blocking); + NextFrameResult display_next_frame (bool non_blocking); private: - void set_image (boost::shared_ptr image) { + void set_image (std::shared_ptr image) { _image = image; } @@ -48,7 +51,7 @@ private: void timer (); wxPanel* _panel; - boost::shared_ptr _image; + std::shared_ptr _image; wxTimer _timer; Position _inter_position; dcp::Size _inter_size;