Copy another test over from DCP-o-matic.
[libsub.git] / src / subrip_reader.h
index 2c69971d8d226095a7cff2ac1761aa25957000c1..8824347ee534bdab4918bc21d186e0490011f8a1 100644 (file)
@@ -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);