projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
frontend_net: fix compilation on Windows (SIGUSR1 does not exist)
[metaproxy-moved-to-github.git]
/
src
/
html_parser.hpp
diff --git
a/src/html_parser.hpp
b/src/html_parser.hpp
index
f754699
..
b06403d
100644
(file)
--- a/
src/html_parser.hpp
+++ b/
src/html_parser.hpp
@@
-1,5
+1,5
@@
/* This file is part of Metaproxy.
/* This file is part of Metaproxy.
- Copyright (C) 2005-2013 Index Data
+ Copyright (C) Index Data
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Metaproxy is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
@@
-29,9
+29,11
@@
namespace metaproxy_1 {
int close_it) = 0;
virtual void attribute(const char *tag, int tag_len,
const char *attr, int attr_len,
int close_it) = 0;
virtual void attribute(const char *tag, int tag_len,
const char *attr, int attr_len,
- const char *value, int val_len) = 0;
+ const char *value, int val_len,
+ const char *sep) = 0;
virtual void closeTag(const char *tag, int tag_len) = 0;
virtual void text(const char *value, int len) = 0;
virtual void closeTag(const char *tag, int tag_len) = 0;
virtual void text(const char *value, int len) = 0;
+ virtual ~ HTMLParserEvent();
};
class HTMLParser {
class Rep;
};
class HTMLParser {
class Rep;
@@
-39,6
+41,7
@@
namespace metaproxy_1 {
HTMLParser();
~HTMLParser();
void parse(HTMLParserEvent &event, const char *str) const;
HTMLParser();
~HTMLParser();
void parse(HTMLParserEvent &event, const char *str) const;
+ void set_verbose(int v);
private:
boost::scoped_ptr<Rep> m_p;
};
private:
boost::scoped_ptr<Rep> m_p;
};