X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_decoder.h;h=aa8c80e6e9152341d2f114a0118e4934dcf3fc4e;hb=b88874e34d429b4624965da09edfde3a56329e38;hp=8cdf8cd9eb4eeff770630d203ff91614c88129a9;hpb=254b3044d72de6b033d7c584f5abd2b9aa70aad5;p=dcpomatic.git diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h index 8cdf8cd9e..aa8c80e6e 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); + StringTextFileDecoder (std::shared_ptr film, std::shared_ptr); - void seek (boost::shared_ptr film, ContentTime time, bool accurate); - bool pass (boost::shared_ptr film); + void seek (dcpomatic::ContentTime time, bool accurate); + bool pass (); + + std::vector fonts () const; private: - ContentTimePeriod content_time_period (sub::Subtitle s) const; + dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const; size_t _next; };