Loading src/html.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -2396,6 +2396,10 @@ libhtmlpp::HtmlElement *libhtmlpp::HtmlElement::getElementbyTag(const std::strin return nullptr; } libhtmlpp::Element* libhtmlpp::HtmlElement::firstChild() const { return _childElement.get(); } void libhtmlpp::HtmlElement::setAttribute(const std::string &name, const std::string &value) { Attributes* cattr = nullptr; Loading src/html.h +2 −0 Original line number Diff line number Diff line Loading @@ -138,6 +138,8 @@ namespace libhtmlpp { HtmlElement *getElementbyID(const std::string &id) const; HtmlElement *getElementbyTag(const std::string &tag) const; Element* firstChild() const; int getType() const; void remove(Element* el); Loading Loading
src/html.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -2396,6 +2396,10 @@ libhtmlpp::HtmlElement *libhtmlpp::HtmlElement::getElementbyTag(const std::strin return nullptr; } libhtmlpp::Element* libhtmlpp::HtmlElement::firstChild() const { return _childElement.get(); } void libhtmlpp::HtmlElement::setAttribute(const std::string &name, const std::string &value) { Attributes* cattr = nullptr; Loading
src/html.h +2 −0 Original line number Diff line number Diff line Loading @@ -138,6 +138,8 @@ namespace libhtmlpp { HtmlElement *getElementbyID(const std::string &id) const; HtmlElement *getElementbyTag(const std::string &tag) const; Element* firstChild() const; int getType() const; void remove(Element* el); Loading