semilimes mcu sdk 1.1.3 semilimes Software Development Kit for microcontrollers

Loading...
Searching...
No Matches
fc_contact_picker.h
1#ifndef _fc_contact_picker_
2#define _fc_contact_picker_
3
4#include "../defines.h"
5
6 class FcContactPicker
7{
8 private:
9 SmeJson json_data;
10 char* json = nullptr;
11
12 public:
13// Function: ~FcContactPicker
14
15// distructor of the class, frees up the memory occupied by the array/s
16
17// Prototype:
18// ~FcContactPicker()
19
20// Parameters:
21
22// Returns:
24 ~FcContactPicker()
25 {
26 delete[] json;
27 json = nullptr;
28 }
29
30// Function: FcContactPicker.set
31
32// A picker allowing to select and reference contacts
33
34// Prototype:
35// void FcContactPicker::set(const char* refname,const char* title,bool reqSel, const char* value,const char* actBtnTitle,bool multiSel);
36
37// Parameters:
44
45// Returns:
47 void set(const char* refname,const char* title,bool reqSel, const char* value,const char* actBtnTitle,bool multiSel);
48
49// Function: FcContactPicker.get
50
51// return the json script
52
53// Prototype:
54// void FcContactPicker::get();
55
56// Parameters:
57
58// Returns:
60 char* get();
61};
62
63#endif
FcContactPicker
Definition fc_contact_picker.h:7
FcContactPicker::set
void set(const char *refname, const char *title, bool reqSel, const char *value, const char *actBtnTitle, bool multiSel)
Definition fc_contact_picker.cpp:21
FcContactPicker::get
char * get()
Definition fc_contact_picker.cpp:48
FcContactPicker::~FcContactPicker
~FcContactPicker()
Definition fc_contact_picker.h:24