semilimes mcu sdk 1.1.1
semilimes Software Development Kit for microcontrollers
Loading...
Searching...
No Matches
get_account_profile.h
1#ifndef _fc_get_account_profile_
2#define _fc_get_account_profile_
3
4#include "../defines.h"
5
7{
8private:
9 #define headerSize 16
10 SmeJson json_data;
11 char* json = nullptr;
12
13public:
14// Function: ~GetAccountProfile
15
16// distructor of the class, frees up the memory occupied by the array/s
17
18// Prototype:
19// ~GetAccountProfile()
20
21// Parameters:
22
23// Returns:
26 {
27 delete[] json;
28 json = nullptr;
29 }
30
31// Function: GetAccountProfile.set
32
33// Gets the account profile's configuration and content.
34
35// Prototype:
36// void GetAccountProfile::set(char* accountId);
37
38// Parameters:
40
41// Returns:
43
44
45 void set(char* accountId);
46
47// Function: GetAccountProfile.get
48
49// return the json script
50
51// Prototype:
52// void GetAccountProfile::get();
53
54// Parameters:
55
56// Returns:
58 char* get();
59};
60
61#endif
Definition get_account_profile.h:7
char * get()
Definition get_account_profile.cpp:36
~GetAccountProfile()
Definition get_account_profile.h:25
void set(char *accountId)
Definition get_account_profile.cpp:16