Cogs.Core
el_comment.cpp
1#include "html.h"
2#include "el_comment.h"
3
4litehtml::el_comment::el_comment(const std::shared_ptr<litehtml::document>& doc) : litehtml::element(doc)
5{
6 m_skip = true;
7}
8
9litehtml::el_comment::~el_comment()
10{
11
12}
13
14void litehtml::el_comment::get_text( tstring& text )
15{
16 text += m_text;
17}
18
19void litehtml::el_comment::set_data( const tchar_t* data )
20{
21 if(data)
22 {
23 m_text += data;
24 }
25}