/**
* tap_shortcut notify for homescreen
* When Shortcut area is tapped, notify these applciations
- *
+ *
* #### Parameters
* Request key
* - application_name : application name
*
* #### Return
- * Nothing
+ * None
*
*/
static void tap_shortcut (struct afb_req request)
* - display_message : message for display
*
* #### Return
- * Nothing
+ * None
*
*/
static void on_screen_message (struct afb_req request)
* - reply_message : message for reply
*
* #### Return
- * Nothing
+ * None
*
*/
static void on_screen_reply (struct afb_req request)
* - event : Event name. Event list is written in libhomescreen.cpp
*
* #### Return
- * Nothing
- *
- * #### Note
+ * None
*
*/
static void subscribe(struct afb_req request)
* - event : Event name. Event list is written in libhomescreen.cpp
*
* #### Return
- * Nothing
- *
- * #### Note
+ * None
*
*/
static void unsubscribe(struct afb_req request)
{NULL } /* marker for end of the array */
};
+/**
+ * homescreen binding preinit function
+ *
+ * #### Parameters
+ * - null
+ *
+ * #### Return
+ * None
+ *
+ */
static int preinit()
{
HMI_NOTICE("homescreen-service","binding preinit (was register)");
return 0;
}
+/**
+ * homescreen binding init function
+ *
+ * #### Parameters
+ * - null
+ *
+ * #### Return
+ * None
+ *
+ */
static int init()
{
HMI_NOTICE("homescreen-service","binding init");
return 0;
}
+/**
+ * homescreen binding event function
+ *
+ * #### Parameters
+ * - event : event name
+ * - object : event json object
+ *
+ * #### Return
+ * None
+ *
+ */
static void onevent(const char *event, struct json_object *object)
{
HMI_NOTICE("homescreen-service","on_event %s", event);