semilimes mcu sdk
1.1.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
fc_label.h
1
#ifndef _fc_label_
2
#define _fc_label_
3
4
#include "../defines.h"
5
6
class
FcLabel
7
{
8
private
:
9
#define headerSize 53
10
SmeJson json_data;
11
char
* json =
nullptr
;
12
13
public
:
14
// Function: ~FcLabel
15
16
// distructor of the class, frees up the memory occupied by the array/s
17
18
// Prototype:
19
// ~FcLabel()
20
21
// Parameters:
22
23
// Returns:
25
~FcLabel
()
26
{
27
delete
[] json;
28
json =
nullptr
;
29
}
30
31
// Function: FcLabel.set
32
33
// A simple read-only label
34
35
// Prototype:
36
// void FcLabel::set(char* refname,char* title);
37
38
// Parameters:
41
42
// Returns:
44
void
set
(
char
* refname,
char
* title);
45
46
// Function: FcLabel.get
47
48
// return the json script
49
50
// Prototype:
51
// void FcLabel::get();
52
53
// Parameters:
54
55
// Returns:
57
char
*
get
();
58
};
59
60
#endif
FcLabel
Definition
fc_label.h:7
FcLabel::set
void set(char *refname, char *title)
Definition
fc_label.cpp:17
FcLabel::get
char * get()
Definition
fc_label.cpp:39
FcLabel::~FcLabel
~FcLabel()
Definition
fc_label.h:25
github
semilimes_mcu_sdk
src
components
fc_label.h
Generated by
1.12.0