Dolby is apparently recreating all their certificates (as they will soon expire)...
[dcpomatic.git] / src / wx / text_view.h
index 1fe07a99919f14b588edcc37ffe69351d02aad85..8cf3c78bbf580480270810723f06878204f50a47 100644 (file)
 */
 
 #include "lib/content_text.h"
-#include <wx/wx.h>
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
 #include <wx/listctrl.h>
-#include <boost/shared_ptr.hpp>
-#include <boost/weak_ptr.hpp>
+#include <wx/wx.h>
+LIBDCP_ENABLE_WARNINGS
 
 class Decoder;
 class FilmViewer;
@@ -33,23 +34,23 @@ class TextView : public wxDialog
 public:
        TextView (
                wxWindow *,
-               boost::shared_ptr<Film>,
-               boost::shared_ptr<Content> content,
-               boost::shared_ptr<TextContent> caption,
-               boost::shared_ptr<Decoder>,
-               boost::weak_ptr<FilmViewer> viewer
+               std::shared_ptr<Film>,
+               std::shared_ptr<Content> content,
+               std::shared_ptr<TextContent> caption,
+               std::shared_ptr<Decoder>,
+               FilmViewer& 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<FrameRateChange> _frc;
        boost::optional<int> _last_count;
-       std::vector<ContentTime> _start_times;
-       boost::weak_ptr<Content> _content;
-       boost::weak_ptr<FilmViewer> _film_viewer;
+       std::vector<dcpomatic::ContentTime> _start_times;
+       std::weak_ptr<Content> _content;
+       FilmViewer& _film_viewer;
 };