semilimes mcu sdk 1.1.3 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
6 class FcLocationPicker
7{
8 private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12 public:
13// Function: ~FcLocationPicker
14
15// distructor of the class, frees up the memory occupied by the array/s
16
17// Prototype:
18// ~FcLocationPicker()
19
20// Parameters:
21
22// Returns:
24 ~FcLocationPicker()
25 {
26 delete[] json;
27 json = nullptr;
28 }
29
30// Function: FcLocationPicker.set
31
32// A picker showing a map where to choose a location or address
33
34// Prototype:
35// void FcLocationPicker::set(const char* refname,const char* title,bool reqSel, const char* value,const char* actBtnTitle,bool currLocOnly);
36
37// Parameters:
44
45// Returns:
47 void set(const char* refname,const char* title,bool reqSel, const char* value,const char* actBtnTitle,bool currLocOnly);
48// Function: FcLocationPicker.get
49
50// return the json script
51
52// Prototype:
53// void FcLocationPicker::get();
54
55// Parameters:
56
57// Returns:
59 char* get();
60};
61
62#endif
FcLocationPicker
Definition fc_location_picker.h:7
FcLocationPicker::~FcLocationPicker
~FcLocationPicker()
Definition fc_location_picker.h:24
FcLocationPicker::set
void set(const char *refname, const char *title, bool reqSel, const char *value, const char *actBtnTitle, bool currLocOnly)
Definition fc_location_picker.cpp:21
FcLocationPicker::get
char * get()
Definition fc_location_picker.cpp:48