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;
+
+ std::vector<dcpomatic::FontData> fonts () const override;
private:
dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;