X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Ftext_view.h;h=24641b2ab856d9d7b89f8e502fe32cceee477091;hb=b9a1ad3df5f9d85fb7439efd93fede72b9b078af;hp=1fe07a99919f14b588edcc37ffe69351d02aad85;hpb=c370a1f38215f6461cf4366e6885757e7aa2b96a;p=dcpomatic.git diff --git a/src/wx/text_view.h b/src/wx/text_view.h index 1fe07a999..24641b2ab 100644 --- a/src/wx/text_view.h +++ b/src/wx/text_view.h @@ -19,10 +19,11 @@ */ #include "lib/content_text.h" -#include +#include "lib/warnings.h" +DCPOMATIC_DISABLE_WARNINGS #include -#include -#include +#include +DCPOMATIC_ENABLE_WARNINGS class Decoder; class FilmViewer; @@ -33,23 +34,23 @@ class TextView : public wxDialog public: TextView ( wxWindow *, - boost::shared_ptr, - boost::shared_ptr content, - boost::shared_ptr caption, - boost::shared_ptr, - boost::weak_ptr viewer + std::shared_ptr, + std::shared_ptr content, + std::shared_ptr caption, + std::shared_ptr, + std::weak_ptr viewer ); private: void data_start (ContentStringText cts); - void data_stop (ContentTime time); + void data_stop (dcpomatic::ContentTime time); void subtitle_selected (wxListEvent &); wxListCtrl* _list; int _subs; boost::optional _frc; boost::optional _last_count; - std::vector _start_times; - boost::weak_ptr _content; - boost::weak_ptr _film_viewer; + std::vector _start_times; + std::weak_ptr _content; + std::weak_ptr _film_viewer; };