|
HomeScreenBinding
|
#include <afb/afb-binding.h>#include <json-c/json.h>Go to the source code of this file.
Macros | |
| #define | AFB_BINDING_VERSION 3 |
| #define | AFB_EVENT_BAD_REQUEST 100 |
| #define | AFB_REQ_SUBSCRIBE_ERROR 101 |
| #define | AFB_REQ_UNSUBSCRIBE_ERROR 102 |
| #define | AFB_REQ_SHOWNOTIFICATION_ERROR 103 |
| #define | AFB_REQ_SHOWINFORMATION_ERROR 104 |
Typedefs | |
| typedef enum REQ_ERROR | REQ_ERROR |
Enumerations | |
| enum | REQ_ERROR { REQ_FAIL = -1, REQ_OK =0, NOT_NUMBER, OUT_RANGE } |
Functions | |
| REQ_ERROR | get_value_uint16 (const afb_req_t request, const char *source, uint16_t *out_id) |
| REQ_ERROR | get_value_int16 (const afb_req_t request, const char *source, int16_t *out_id) |
| REQ_ERROR | get_value_int32 (const afb_req_t request, const char *source, int32_t *out_id) |
| void | hs_add_object_to_json_object (struct json_object *j_obj, int count,...) |
| void | hs_add_object_to_json_object_str (struct json_object *j_obj, int count,...) |
| void | hs_add_object_to_json_object_func (struct json_object *j_obj, const char *verb_name, int count,...) |
| int | hs_search_event_name_index (const char *value) |
Variables | |
| const char * | evlist [] |
| const char | _error [] |
| const char | _application_id [] |
| const char | _display_message [] |
| const char | _reply_message [] |
| #define AFB_BINDING_VERSION 3 |
Definition at line 19 of file hs-helper.h.
| #define AFB_EVENT_BAD_REQUEST 100 |
Definition at line 23 of file hs-helper.h.
| #define AFB_REQ_SHOWINFORMATION_ERROR 104 |
Definition at line 27 of file hs-helper.h.
| #define AFB_REQ_SHOWNOTIFICATION_ERROR 103 |
Definition at line 26 of file hs-helper.h.
| #define AFB_REQ_SUBSCRIBE_ERROR 101 |
Definition at line 24 of file hs-helper.h.
| #define AFB_REQ_UNSUBSCRIBE_ERROR 102 |
Definition at line 25 of file hs-helper.h.
| enum REQ_ERROR |
| Enumerator | |
|---|---|
| REQ_FAIL | |
| REQ_OK | |
| NOT_NUMBER | |
| OUT_RANGE | |
Definition at line 29 of file hs-helper.h.
| REQ_ERROR get_value_int16 | ( | const afb_req_t | request, |
| const char * | source, | ||
| int16_t * | out_id | ||
| ) |
get int16 value from source
error code
Definition at line 82 of file hs-helper.cpp.
| REQ_ERROR get_value_int32 | ( | const afb_req_t | request, |
| const char * | source, | ||
| int32_t * | out_id | ||
| ) |
get int32 value from source
error code
Definition at line 118 of file hs-helper.cpp.
| REQ_ERROR get_value_uint16 | ( | const afb_req_t | request, |
| const char * | source, | ||
| uint16_t * | out_id | ||
| ) |
get uint16 value from source
error code
Definition at line 46 of file hs-helper.cpp.
| void hs_add_object_to_json_object | ( | struct json_object * | j_obj, |
| int | count, | ||
| ... | |||
| ) |
add int object to json object
None
Definition at line 154 of file hs-helper.cpp.
| void hs_add_object_to_json_object_func | ( | struct json_object * | j_obj, |
| const char * | verb_name, | ||
| int | count, | ||
| ... | |||
| ) |
add new json object to json object
None
Definition at line 207 of file hs-helper.cpp.
| void hs_add_object_to_json_object_str | ( | struct json_object * | j_obj, |
| int | count, | ||
| ... | |||
| ) |
add string object to json object
None
Definition at line 180 of file hs-helper.cpp.
| int hs_search_event_name_index | ( | const char * | value | ) |
search event position in event list
event's index in event list
Definition at line 234 of file hs-helper.cpp.
| const char _application_id[] |
Definition at line 28 of file homescreen.cpp.
| const char _display_message[] |
Definition at line 29 of file homescreen.cpp.
| const char _error[] |
Definition at line 27 of file homescreen.cpp.
| const char _reply_message[] |
Definition at line 30 of file homescreen.cpp.
| const char* evlist[] |
Definition at line 22 of file hs-helper.cpp.
1.8.11