X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fssa_reader.h;h=e9bb06196493b3b0f2e943fb89546b0dc0198044;hb=f6be8f2cdbcb9c8329ad48c392387ea052ff8b0d;hp=07a0901d41d5f573e8819f74d970162134f5469c;hpb=0c7a195358580f65c9fcfd5342e01a70544c1405;p=libsub.git diff --git a/src/ssa_reader.h b/src/ssa_reader.h index 07a0901..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, int play_res_x, int play_res_y); + 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);