Fix the build for older macOS.
[dcpomatic.git] / src / lib / string_text_file_decoder.h
index f30e1b7625dee96a1fc7d569c8f64f91c3168124..aa8c80e6e9152341d2f114a0118e4934dcf3fc4e 100644 (file)
@@ -29,13 +29,15 @@ 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 (ContentTime time, bool accurate);
+       void seek (dcpomatic::ContentTime time, bool accurate);
        bool pass ();
 
+       std::vector<dcpomatic::FontData> fonts () const;
+
 private:
-       ContentTimePeriod content_time_period (sub::Subtitle s) const;
+       dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;
 
        size_t _next;
 };