Fix the header guard and tidy up.
[dcpomatic.git] / src / lib / string_text_file_decoder.h
index 8cdf8cd9eb4eeff770630d203ff91614c88129a9..5887f34c61f81fed1bdfaa9fc923273b4c122392 100644 (file)
@@ -29,13 +29,15 @@ class StringTextFileContent;
 class StringTextFileDecoder : public Decoder, public StringTextFile
 {
 public:
-       StringTextFileDecoder (boost::shared_ptr<const StringTextFileContent>);
+       StringTextFileDecoder (std::shared_ptr<const Film> film, std::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 (dcpomatic::ContentTime time, bool accurate) override;
+       bool pass () override;
+
+       std::vector<dcpomatic::FontData> fonts () const override;
 
 private:
-       ContentTimePeriod content_time_period (sub::Subtitle s) const;
+       dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;
 
        size_t _next;
 };