semilimes mcu sdk
1.1.2
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
6
class
GetAccountFeed
7
{
8
private
:
9
SmeJson json_data;
10
char
* json =
nullptr
;
11
12
public
:
13
// Function: ~GetAccountFeed
14
15
// distructor of the class, frees up the memory occupied by the array/s
16
17
// Prototype:
18
// ~GetAccountFeed()
19
20
// Parameters:
21
22
// Returns:
24
~GetAccountFeed
()
25
{
26
delete
[] json;
27
json =
nullptr
;
28
}
29
30
// Function: GetAccountFeed.set
31
32
// Gets the account feed's configuration and content. Each post can only contain a bucket component type.
33
34
// Prototype:
35
// void GetAccountFeed::set(const char* accountId,int before,int after,int limit);
36
37
// Parameters:
42
43
// Returns:
45
46
void
set
(
const
char
* accountId,
int
before,
int
after,
int
limit);
47
48
// Function: GetAccountFeed.get
49
50
// return the json script
51
52
// Prototype:
53
// void GetAccountFeed::get();
54
55
// Parameters:
56
57
// Returns:
59
char
*
get
();
60
};
61
62
#endif
GetAccountFeed
Definition
get_account_feed.h:7
GetAccountFeed::get
char * get()
Definition
get_account_feed.cpp:42
GetAccountFeed::~GetAccountFeed
~GetAccountFeed()
Definition
get_account_feed.h:24
GetAccountFeed::set
void set(const char *accountId, int before, int after, int limit)
Definition
get_account_feed.cpp:19
github
semilimes_mcu_sdk
src
account
get_account_feed.h
Generated by
1.12.0