*/
#include "lib/content_text.h"
-#include "lib/warnings.h"
-DCPOMATIC_DISABLE_WARNINGS
+#include <dcp/warnings.h>
+LIBDCP_DISABLE_WARNINGS
#include <wx/listctrl.h>
#include <wx/wx.h>
-DCPOMATIC_ENABLE_WARNINGS
+LIBDCP_ENABLE_WARNINGS
class Decoder;
class FilmViewer;
std::shared_ptr<Content> content,
std::shared_ptr<TextContent> caption,
std::shared_ptr<Decoder>,
- std::weak_ptr<FilmViewer> viewer
+ FilmViewer& viewer
);
private:
boost::optional<int> _last_count;
std::vector<dcpomatic::ContentTime> _start_times;
std::weak_ptr<Content> _content;
- std::weak_ptr<FilmViewer> _film_viewer;
+ FilmViewer& _film_viewer;
};