Move some stuff into FilmViewer::dcp().
[dcpomatic.git] / src / wx / film_viewer.h
index 392cf85a346024748f57db25300e4e205995d3e2..3ade364feff28c105f9829258588b3c9c22bd006 100644 (file)
@@ -43,6 +43,7 @@ LIBDCP_ENABLE_WARNINGS
 
 class Butler;
 class ClosedCaptionsDialog;
+class DCPContent;
 class FFmpegPlayer;
 class Image;
 class Player;
@@ -76,6 +77,11 @@ public:
                return _film;
        }
 
+       /** @return The DCP that we are playing back, if that's the only content in
+        *  our Film.
+        */
+       std::shared_ptr<DCPContent> dcp() const;
+
        void seek (dcpomatic::DCPTime t, bool accurate);
        void seek (std::shared_ptr<Content> content, dcpomatic::ContentTime p, bool accurate);
        void seek_by (dcpomatic::DCPTime by, bool accurate);