semilimes mcu sdk 1.1.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
fc_location_picker.h
1#ifndef _fc_location_picker_
2#define _fc_location_picker_
3
4#include "../defines.h"
5
7{
8private:
9 #define headerSize 140
10 SmeJson json_data;
11 char* json = nullptr;
12
13public:
14// Function: ~FcLocationPicker
15
16// distructor of the class, frees up the memory occupied by the array/s
17
18// Prototype:
19// ~FcLocationPicker()
20
21// Parameters:
22
23// Returns:
26 {
27 delete[] json;
28 json = nullptr;
29 }
30
31// Function: FcLocationPicker.set
32
33// A picker showing a map where to choose a location or address
34
35// Prototype:
36// void FcLocationPicker::set(char* refname,char* title,bool reqSel, char* value,char* actBtnTitle,bool currLocOnly);
37
38// Parameters:
45
46// Returns:
48 void set(char* refname,char* title,bool reqSel, char* value,char* actBtnTitle,bool currLocOnly);
49// Function: FcLocationPicker.get
50
51// return the json script
52
53// Prototype:
54// void FcLocationPicker::get();
55
56// Parameters:
57
58// Returns:
60 char* get();
61};
62
63#endif
Definition fc_location_picker.h:7
~FcLocationPicker()
Definition fc_location_picker.h:25
void set(char *refname, char *title, bool reqSel, char *value, char *actBtnTitle, bool currLocOnly)
Definition fc_location_picker.cpp:21
char * get()
Definition fc_location_picker.cpp:48