summaryrefslogtreecommitdiff
path: root/src/stl_text_reader.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-05-30 10:53:53 +0100
committerCarl Hetherington <cth@carlh.net>2014-05-30 10:53:53 +0100
commit38a5ff713757b9dc0cb67cb09613182c46dc9657 (patch)
treeef337ee8bcd315b85f3a50ce37f623f3b1c51d76 /src/stl_text_reader.h
parent97495d8cce58f0e5d9a43977698c60b8b66a83e3 (diff)
Split up into RawSubtitle and Subtitle, with collect(). Hopefully cleaner.
Diffstat (limited to 'src/stl_text_reader.h')
-rw-r--r--src/stl_text_reader.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/stl_text_reader.h b/src/stl_text_reader.h
index e6a550a..b84e8b8 100644
--- a/src/stl_text_reader.h
+++ b/src/stl_text_reader.h
@@ -29,12 +29,10 @@ public:
private:
void set (std::string name, std::string value);
- void maybe_push_subtitle ();
- void maybe_push_block ();
+ void maybe_push ();
boost::optional<FrameTime> time (std::string t) const;
- Subtitle _subtitle;
- Block _block;
+ RawSubtitle _subtitle;
};
}