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
6
class
DcHtmlText
7
{
8
private
:
9
#define headerSize 38
10
SmeJson json_data;
11
char
* json =
nullptr
;
12
13
public
:
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:
25
~DcHtmlText
()
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
DcHtmlText
Definition
dc_html_text.h:7
DcHtmlText::set
void set(char *html)
Definition
dc_html_text.cpp:16
DcHtmlText::get
char * get()
Definition
dc_html_text.cpp:38
DcHtmlText::~DcHtmlText
~DcHtmlText()
Definition
dc_html_text.h:25
github
semilimes_mcu_sdk
src
components
dc_html_text.h
Generated by
1.12.0