Write config.xml with CR/LF terminators on Windows.
[dcpomatic.git] / src / lib / string_text_file_decoder.h
index 8cdf8cd9eb4eeff770630d203ff91614c88129a9..f30e1b7625dee96a1fc7d569c8f64f91c3168124 100644 (file)
@@ -29,10 +29,10 @@ class StringTextFileContent;
 class StringTextFileDecoder : public Decoder, public StringTextFile
 {
 public:
-       StringTextFileDecoder (boost::shared_ptr<const StringTextFileContent>);
+       StringTextFileDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const StringTextFileContent>);
 
-       void seek (boost::shared_ptr<const Film> film, ContentTime time, bool accurate);
-       bool pass (boost::shared_ptr<const Film> film);
+       void seek (ContentTime time, bool accurate);
+       bool pass ();
 
 private:
        ContentTimePeriod content_time_period (sub::Subtitle s) const;