projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Basic release notes support (#2282).
[dcpomatic.git]
/
src
/
lib
/
string_text_file_decoder.h
diff --git
a/src/lib/string_text_file_decoder.h
b/src/lib/string_text_file_decoder.h
index 6a9552bbec918f8b2c885f8adb9253bc450cdfe1..c58021acbcde0c0cf8bbd926392fcd561b19a8df 100644
(file)
--- a/
src/lib/string_text_file_decoder.h
+++ b/
src/lib/string_text_file_decoder.h
@@
-25,18
+25,18
@@
#include "decoder.h"
class StringTextFileContent;
#include "decoder.h"
class StringTextFileContent;
-class Log;
class StringTextFileDecoder : public Decoder, public StringTextFile
{
public:
class StringTextFileDecoder : public Decoder, public StringTextFile
{
public:
- StringTextFileDecoder (
boost::shared_ptr<const StringTextFileContent>, boost::shared_ptr<Log> log
);
+ StringTextFileDecoder (
std::shared_ptr<const Film> film, std::shared_ptr<const StringTextFileContent>
);
- void seek (
ContentTime time, bool accurate)
;
- bool pass ();
+ void seek (
dcpomatic::ContentTime time, bool accurate) override
;
+ bool pass ()
override
;
private:
private:
- ContentTimePeriod content_time_period (sub::Subtitle s) const;
+ dcpomatic::ContentTimePeriod content_time_period (sub::Subtitle s) const;
+ void update_position();
size_t _next;
};
size_t _next;
};