Add a getter for litehtml::document's m_over_element member
[claws.git] / src / plugins / litehtml_viewer / litehtml / el_comment.cpp
1 #include "html.h"
2 #include "el_comment.h"
3
4 litehtml::el_comment::el_comment(const std::shared_ptr<litehtml::document>& doc) : litehtml::element(doc)
5 {
6         m_skip = true;
7 }
8
9 litehtml::el_comment::~el_comment()
10 {
11
12 }
13
14 void litehtml::el_comment::get_text( tstring& text )
15 {
16         text += m_text;
17 }
18
19 void litehtml::el_comment::set_data( const tchar_t* data )
20 {
21         if(data)
22         {
23                 m_text += data;
24         }
25 }