summaryrefslogtreecommitdiff
path: root/src/lib/string_text_file_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-11-21 01:59:04 +0000
committerCarl Hetherington <cth@carlh.net>2018-11-21 01:59:04 +0000
commit254b3044d72de6b033d7c584f5abd2b9aa70aad5 (patch)
tree8a5c83c1b2dea690672663dedb2f3aa50f4473dc /src/lib/string_text_file_decoder.h
parentc31b9542c58ae1cbfae7ec3ba4911359fd010ba2 (diff)
Take Film pointer out of Content.
Diffstat (limited to 'src/lib/string_text_file_decoder.h')
-rw-r--r--src/lib/string_text_file_decoder.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/lib/string_text_file_decoder.h b/src/lib/string_text_file_decoder.h
index 6a9552bbe..8cdf8cd9e 100644
--- a/src/lib/string_text_file_decoder.h
+++ b/src/lib/string_text_file_decoder.h
@@ -25,15 +25,14 @@
#include "decoder.h"
class StringTextFileContent;
-class Log;
class StringTextFileDecoder : public Decoder, public StringTextFile
{
public:
- StringTextFileDecoder (boost::shared_ptr<const StringTextFileContent>, boost::shared_ptr<Log> log);
+ StringTextFileDecoder (boost::shared_ptr<const StringTextFileContent>);
- void seek (ContentTime time, bool accurate);
- bool pass ();
+ void seek (boost::shared_ptr<const Film> film, ContentTime time, bool accurate);
+ bool pass (boost::shared_ptr<const Film> film);
private:
ContentTimePeriod content_time_period (sub::Subtitle s) const;