X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fclosed_captions_dialog.h;h=d31218526d745879ef553bd0004716177e0616c5;hb=345df3ae8254f25299c2fc2022b1143d444f9a56;hp=4117de2639a55d1e5fa64e64b29d242b0c6ea8b4;hpb=d902160e3c89a9f65f58a2463fac0b1de1d940b1;p=dcpomatic.git diff --git a/src/wx/closed_captions_dialog.h b/src/wx/closed_captions_dialog.h index 4117de263..d31218526 100644 --- a/src/wx/closed_captions_dialog.h +++ b/src/wx/closed_captions_dialog.h @@ -18,25 +18,26 @@ */ + #include "lib/dcpomatic_time.h" -#include "lib/player.h" #include "lib/text_ring_buffers.h" -#include "lib/warnings.h" -DCPOMATIC_DISABLE_WARNINGS +#include +LIBDCP_DISABLE_WARNINGS #include -DCPOMATIC_ENABLE_WARNINGS +LIBDCP_ENABLE_WARNINGS class Butler; class FilmViewer; + class ClosedCaptionsDialog : public wxDialog { public: explicit ClosedCaptionsDialog (wxWindow* parent, FilmViewer* viewer); void clear (); - void update_tracks (boost::shared_ptr film); - void set_butler (boost::weak_ptr); + void update_tracks (std::shared_ptr film); + void set_butler (std::weak_ptr); private: void shown (wxShowEvent); @@ -51,6 +52,6 @@ private: bool _current_in_lines; std::vector _lines; std::vector _tracks; - boost::weak_ptr _butler; + std::weak_ptr _butler; wxTimer _timer; };