semilimes mcu sdk 1.1.3 semilimes Software Development Kit for microcontrollers

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