diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-05-30 10:53:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-05-30 10:53:53 +0100 |
| commit | 38a5ff713757b9dc0cb67cb09613182c46dc9657 (patch) | |
| tree | ef337ee8bcd315b85f3a50ce37f623f3b1c51d76 /src/reader.h | |
| parent | 97495d8cce58f0e5d9a43977698c60b8b66a83e3 (diff) | |
Split up into RawSubtitle and Subtitle, with collect(). Hopefully cleaner.
Diffstat (limited to 'src/reader.h')
| -rw-r--r-- | src/reader.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reader.h b/src/reader.h index 8aa9fd8..1237bb5 100644 --- a/src/reader.h +++ b/src/reader.h @@ -20,7 +20,7 @@ #ifndef LIBSUB_READER_H #define LIBSUB_READER_H -#include "subtitle.h" +#include "raw_subtitle.h" #include <list> #include <map> #include <string> @@ -30,7 +30,7 @@ namespace sub { class Reader { public: - std::list<Subtitle> subtitles () const { + std::list<RawSubtitle> subtitles () const { return _subs; } @@ -41,7 +41,7 @@ public: protected: void warn (std::string) const; - std::list<Subtitle> _subs; + std::list<RawSubtitle> _subs; }; } |
