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