Take Film pointer out of Content.
[dcpomatic.git] / src / lib / string_text_file_decoder.h
index 6a9552bbec918f8b2c885f8adb9253bc450cdfe1..8cdf8cd9eb4eeff770630d203ff91614c88129a9 100644 (file)
 #include "decoder.h"
 
 class StringTextFileContent;
-class Log;
 
 class StringTextFileDecoder : public Decoder, public StringTextFile
 {
 public:
-       StringTextFileDecoder (boost::shared_ptr<const StringTextFileContent>, boost::shared_ptr<Log> log);
+       StringTextFileDecoder (boost::shared_ptr<const StringTextFileContent>);
 
-       void seek (ContentTime time, bool accurate);
-       bool pass ();
+       void seek (boost::shared_ptr<const Film> film, ContentTime time, bool accurate);
+       bool pass (boost::shared_ptr<const Film> film);
 
 private:
        ContentTimePeriod content_time_period (sub::Subtitle s) const;