X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fstring_text_file_decoder.h;h=aa8c80e6e9152341d2f114a0118e4934dcf3fc4e;hb=4cb17f30c72c95a16be9ff2788c04fb2b74ca06f;hp=6a9552bbec918f8b2c885f8adb9253bc450cdfe1;hpb=df17bbd25da69fc38eb2dcd8b4a2531cf0bab0bc;p=dcpomatic.git diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h index 6a9552bbe..aa8c80e6e 100644 --- a/src/lib/string_text_file_decoder.h +++ b/src/lib/string_text_file_decoder.h @@ -25,18 +25,19 @@ #include "decoder.h" class StringTextFileContent; -class Log; class StringTextFileDecoder : public Decoder, public StringTextFile { public: - StringTextFileDecoder (boost::shared_ptr, boost::shared_ptr log); + StringTextFileDecoder (std::shared_ptr film, std::shared_ptr); - void seek (ContentTime time, bool accurate); + 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; };