Add some more tests.
[libsub.git] / src / ssa_reader.h
index ee1b178fb80899147d2aef66850de3be476f0ef9..e9bb06196493b3b0f2e943fb89546b0dc0198044 100644 (file)
@@ -41,7 +41,8 @@ public:
        SSAReader (FILE* f);
        SSAReader (std::string subs);
 
-       static std::list<RawSubtitle> parse_line (RawSubtitle base, std::string line, int play_res_x, int play_res_y);
+       static std::vector<RawSubtitle> parse_line (RawSubtitle base, std::string line, int play_res_x, int play_res_y);
+       static void parse_style (RawSubtitle& sub, std::string style, int play_res_x, int play_res_y);
 
 private:
        void read (boost::function<boost::optional<std::string> ()> get_line);