API Documentation
|
Class which can be used to read a subtitle file and return the subtitle that should be played at a specific time. More...
#include <SubtitleFile.h>
Public Member Functions | |
String | currentText (const TimeSpan ¤t) const |
void | readText () |
SubtitleFileReader (const File &file) | |
Protected Member Functions | |
TimeSpan | convertFromString (const String &string) |
Protected Attributes | |
BufferedScanner | m_scanner |
Buffer< std::pair< Vector< 2, TimeSpan >, String > > | m_subtitles |
Class which can be used to read a subtitle file and return the subtitle that should be played at a specific time.
SubtitleFileReader | ( | const File & | file | ) |
void readText | ( | ) |
|
protected |