X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fclosed_captions_dialog.h;h=700b8922a9506073df558c9a1722d7a527048e6c;hb=a8e7f108c3aad37a5291b12ac37844dbea8cfd9b;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..700b8922a 100644 --- a/src/wx/closed_captions_dialog.h +++ b/src/wx/closed_captions_dialog.h @@ -18,25 +18,27 @@ */ + #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 +53,6 @@ private: bool _current_in_lines; std::vector _lines; std::vector _tracks; - boost::weak_ptr _butler; + std::weak_ptr _butler; wxTimer _timer; };