Fix some unused variable warnings.
[libsub.git] / src / ssa_reader.h
index 1fe64f371b40820377be6bd8f3ee437d25ae5a9a..aba06cc9a6da6742c95dd0f80591647443516d05 100644 (file)
 
 namespace sub {
 
+/** @class SSAReader
+ *  @brief Reader for SubStation Alpha (SSA) and Advanced Substation Alpha (ASS) subtitles.
+ *
+ *  This reader implements some of the SSA and ASS "standards", as gathered from various
+ *  documents on the web.
+ */
 class SSAReader : public Reader
 {
 public:
        SSAReader (FILE* f);
-       SSAReader (std::string const & subs);
+       SSAReader (std::string subs);
 
-       static std::list<RawSubtitle> parse_line (RawSubtitle base, std::string line);
+       static std::list<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);