tag/Handler: add FullTagHandler constructor with want_mask
This commit is contained in:
parent
abea4a24ba
commit
9ff1ff75cb
|
@ -116,9 +116,13 @@ public:
|
||||||
* attribute.
|
* attribute.
|
||||||
*/
|
*/
|
||||||
class FullTagHandler : public AddTagHandler {
|
class FullTagHandler : public AddTagHandler {
|
||||||
|
protected:
|
||||||
|
FullTagHandler(unsigned _want_mask, TagBuilder &_builder) noexcept
|
||||||
|
:AddTagHandler(WANT_PAIR|_want_mask, _builder) {}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
explicit FullTagHandler(TagBuilder &_builder) noexcept
|
explicit FullTagHandler(TagBuilder &_builder) noexcept
|
||||||
:AddTagHandler(WANT_PAIR, _builder) {}
|
:FullTagHandler(0, _builder) {}
|
||||||
|
|
||||||
void OnPair(const char *key, const char *value) noexcept override;
|
void OnPair(const char *key, const char *value) noexcept override;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue