add support for Ayatana indicator to Notification plugin
[claws.git] / src / plugins / litehtml_viewer / litehtml / el_comment.h
blob454ee4787bf82aac37cd53d546080ebca1af621f
1 #ifndef LH_EL_COMMENT_H
2 #define LH_EL_COMMENT_H
4 #include "html_tag.h"
6 namespace litehtml
8 class el_comment : public element
10 string m_text;
11 public:
12 explicit el_comment(const std::shared_ptr<document>& doc);
14 bool is_comment() const override;
15 void get_text(string& text) override;
16 void set_data(const char* data) override;
17 std::shared_ptr<render_item> create_render_item(const std::shared_ptr<render_item>& parent_ri) override
19 // Comments are not rendered
20 return nullptr;
25 #endif // LH_EL_COMMENT_H