X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fhtml_parser.hpp;h=72ff60bde4c82e0658123985d5ba285033cbc824;hb=167d92e5c6533c592b5a204b638a606ff6e2b428;hp=ad46061ff54a435c3681e8761172680f202d6f29;hpb=0ce322844494022dc85a9c776d9ff041aad17520;p=metaproxy-moved-to-github.git diff --git a/src/html_parser.hpp b/src/html_parser.hpp index ad46061..72ff60b 100644 --- a/src/html_parser.hpp +++ b/src/html_parser.hpp @@ -25,11 +25,10 @@ namespace metaproxy_1 { class HTMLParserEvent { public: virtual void openTagStart(const char *name) = 0; - virtual void anyTagEnd(const char *name) = 0; - virtual void attribute(const char *tagName, - const char *name, - const char *value, - int val_len) = 0; + virtual void anyTagEnd(const char *name, int close_it) = 0; + virtual void attribute(const char *tagName, const char *name, + const char *value, + int val_len) = 0; virtual void closeTag(const char *name) = 0; virtual void text(const char *value, int len) = 0; }; @@ -37,7 +36,7 @@ namespace metaproxy_1 { public: HTMLParser(); ~HTMLParser(); - void parse(HTMLParserEvent & event, const char *str) const; + void parse(HTMLParserEvent &event, const char *str) const; }; }