X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_decoder.h;h=aa8c80e6e9152341d2f114a0118e4934dcf3fc4e;hb=c5a9590a9a84eb4eee8536dfa1eef59d7126eeac;hp=0c1d31deb1661f78508a6a056b2fb0218642ce33;hpb=c4403784febdbdd42e9c32e67fadb147f11fe566;p=dcpomatic.git diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h index 0c1d31deb..aa8c80e6e 100644 --- a/src/lib/string_text_file_decoder.h +++ b/src/lib/string_text_file_decoder.h @@ -29,11 +29,13 @@ 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 (dcpomatic::ContentTime time, bool accurate); bool pass (); + std::vector fonts () const; + private: dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;