X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fssa_reader.h;h=e9bb06196493b3b0f2e943fb89546b0dc0198044;hb=207ed52da31616de2d80c5ff0c65182a6f92acf2;hp=59c9e86f3805d439b4371b8f8bb8add01869bf8b;hpb=ca9dfb8c67721ad667e204e22908f4e5c723c2ce;p=libsub.git diff --git a/src/ssa_reader.h b/src/ssa_reader.h index 59c9e86..e9bb061 100644 --- a/src/ssa_reader.h +++ b/src/ssa_reader.h @@ -39,9 +39,10 @@ class SSAReader : public Reader { public: SSAReader (FILE* f); - SSAReader (std::string const & subs); + SSAReader (std::string subs); - static std::list parse_line (RawSubtitle base, std::string line); + static std::vector 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 ()> get_line);