Supporters update.
[dcpomatic.git] / src / lib / string_text_file_decoder.h
index 0c1d31deb1661f78508a6a056b2fb0218642ce33..c58021acbcde0c0cf8bbd926392fcd561b19a8df 100644 (file)
@@ -29,13 +29,14 @@ class StringTextFileContent;
 class StringTextFileDecoder : public Decoder, public StringTextFile
 {
 public:
-       StringTextFileDecoder (boost::shared_ptr<const Film> film, boost::shared_ptr<const StringTextFileContent>);
+       StringTextFileDecoder (std::shared_ptr<const Film> film, std::shared_ptr<const StringTextFileContent>);
 
-       void seek (dcpomatic::ContentTime time, bool accurate);
-       bool pass ();
+       void seek (dcpomatic::ContentTime time, bool accurate) override;
+       bool pass () override;
 
 private:
        dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;
+       void update_position();
 
        size_t _next;
 };