Accessor for ClosedCaptionsDialog.
[dcpomatic.git] / src / lib / dcp_subtitle_decoder.h
index 7e832241e82fa211e2572091c6ca2ef52fd9e1f2..5bf6363ad282630005a81067e0ac1940179e5cd9 100644 (file)
@@ -26,13 +26,13 @@ class DCPSubtitleContent;
 class DCPSubtitleDecoder : public DCPSubtitle, public Decoder
 {
 public:
-       DCPSubtitleDecoder (boost::shared_ptr<const DCPSubtitleContent>);
+       DCPSubtitleDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const DCPSubtitleContent>);
 
-       bool pass (boost::shared_ptr<const Film> film);
-       void seek (boost::shared_ptr<const Film> film, ContentTime time, bool accurate);
+       bool pass ();
+       void seek (dcpomatic::ContentTime time, bool accurate);
 
 private:
-       ContentTimePeriod content_time_period (boost::shared_ptr<dcp::Subtitle> s) const;
+       dcpomatic::ContentTimePeriod content_time_period (boost::shared_ptr<dcp::Subtitle> s) const;
 
        std::list<boost::shared_ptr<dcp::Subtitle> > _subtitles;
        std::list<boost::shared_ptr<dcp::Subtitle> >::const_iterator _next;