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