semilimes mcu sdk 1.1.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
dc_html_text.h
1#ifndef _dc_html_text_
2#define _dc_html_text_
3
4#include "../defines.h"
5
7{
8private:
9 #define headerSize 38
10 SmeJson json_data;
11 char* json = nullptr;
12
13public:
14// Function: ~DcHtmlText
15
16// distructor of the class, frees up the memory occupied by the array/s
17
18// Prototype:
19// ~DcHtmlText()
20
21// Parameters:
22
23// Returns:
26 {
27 delete[] json;
28 json = nullptr;
29 }
30
31// Function: DcHtmlText.set
32
33// An html message
34
35// Prototype:
36// void DcHtmlText::set(char* html);
37
38// Parameters:
40
41// Returns:
43 void set(char* html);
44
45// Function: DcHtmlText.get
46
47// return the json script
48
49// Prototype:
50// void DcHtmlText::get();
51
52// Parameters:
53
54// Returns:
56 char* get();
57};
58
59#endif
Definition dc_html_text.h:7
void set(char *html)
Definition dc_html_text.cpp:16
char * get()
Definition dc_html_text.cpp:38
~DcHtmlText()
Definition dc_html_text.h:25