summaryrefslogtreecommitdiff
path: root/src/wx/film_viewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/film_viewer.h')
-rw-r--r--src/wx/film_viewer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wx/film_viewer.h b/src/wx/film_viewer.h
index 392cf85a3..3ade364fe 100644
--- a/src/wx/film_viewer.h
+++ b/src/wx/film_viewer.h
@@ -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);