summaryrefslogtreecommitdiff
path: root/src/subrip_reader.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-10-06 11:59:55 +0100
committerCarl Hetherington <cth@carlh.net>2014-10-06 11:59:55 +0100
commit082eb865bbae0ea4350b7dffbf43f1c21b6b4c82 (patch)
treea9302f49fe9db3ea5ff5065e3a5e5a9781903304 /src/subrip_reader.h
parentae10bb2a702ab08c497b940d43f0d6e85ae26970 (diff)
Copy another test over from DCP-o-matic.
Diffstat (limited to 'src/subrip_reader.h')
-rw-r--r--src/subrip_reader.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/subrip_reader.h b/src/subrip_reader.h
index 2c69971..8824347 100644
--- a/src/subrip_reader.h
+++ b/src/subrip_reader.h
@@ -28,6 +28,10 @@ public:
SubripReader (FILE* f);
private:
+ /* For tests */
+ friend struct ::subrip_reader_convert_line_test;
+ SubripReader () {}
+
TimePair convert_time (std::string t);
void convert_line (std::string t, int line_number, TimePair from, TimePair to);
void maybe_content (RawSubtitle& p);