Change-Id: I11def29f7a55c4a3fcca5e7e9a1d8731aa0c352f
int replyShowWindow(const char* application_id, json_object* json);
int showNotification(json_object* json);
int showInformation(json_object* json);
+ int registerShortcut(json_object* json);
private:
return this->call("showNotification", json);
}
+/**
+ * register shortcut to homescreen
+ *
+ * Call HomeScreen Service's registerShortcut verb to regitster shortcut.
+ *
+ * #### Parameters
+ * - json [in] : This argument should be specified to the json parameters.
+ *
+ * #### Return
+ * - Returns 0 on success or -1 in case of error.
+ *
+ */
+int LibHomeScreen::registerShortcut(json_object* json)
+{
+ if(!sp_websock)
+ {
+ return -1;
+ }
+
+ return this->call("registerShortcut", json);
+}
+
/**
* Sending show information event
*