X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_decoder.h;h=5887f34c61f81fed1bdfaa9fc923273b4c122392;hb=b915348a8288d68e2ff114fb3dd89ad22e699969;hp=f30e1b7625dee96a1fc7d569c8f64f91c3168124;hpb=84012cdd64f451891febd36154b7226ea21a899b;p=dcpomatic.git diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h index f30e1b762..5887f34c6 100644 --- a/src/lib/string_text_file_decoder.h +++ b/src/lib/string_text_file_decoder.h @@ -29,13 +29,15 @@ class StringTextFileContent; class StringTextFileDecoder : public Decoder, public StringTextFile { public: - StringTextFileDecoder (boost::shared_ptr film, boost::shared_ptr); + StringTextFileDecoder (std::shared_ptr film, std::shared_ptr); - void seek (ContentTime time, bool accurate); - bool pass (); + void seek (dcpomatic::ContentTime time, bool accurate) override; + bool pass () override; + + std::vector fonts () const override; private: - ContentTimePeriod content_time_period (sub::Subtitle s) const; + dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const; size_t _next; };