Partial split of film viewer.
[dcpomatic.git] / src / wx / text_view.h
index 8cec8d28444b902701f241d6fc04a52b4bd01396..12cbb6d088a58e54777c2f2611c313ed119d92a7 100644 (file)
 #include <wx/listctrl.h>
 
 class Decoder;
-class FilmViewer;
+class ControlFilmViewer;
 
 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>, FilmViewer* viewer
+               wxWindow *,
+               boost::shared_ptr<Film>,
+               boost::shared_ptr<Content> content,
+               boost::shared_ptr<TextContent> caption,
+               boost::shared_ptr<Decoder>,
+               ControlFilmViewer* viewer
                );
 
 private:
@@ -44,5 +49,5 @@ private:
        boost::optional<int> _last_count;
        std::vector<ContentTime> _start_times;
        boost::weak_ptr<Content> _content;
-       FilmViewer* _film_viewer;
+       ControlFilmViewer* _film_viewer;
 };