aboutsummaryrefslogtreecommitdiffstats
path: root/include/litehtml/el_cdata.h
blob: 3e9db43b88ddd5e8ebd4b8f14fe7a1c64eedd5ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef LH_EL_CDATA_H
#define LH_EL_CDATA_H

#include "element.h"

namespace litehtml
{
	class el_cdata : public element
	{
		string	m_text;
	public:
		explicit el_cdata(const std::shared_ptr<document>& doc);

		void get_text(string& text) override;
		void set_data(const char* data) override;
	};
}

#endif  // LH_EL_CDATA_H