aboutsummaryrefslogtreecommitdiffstats
path: root/include/libhomescreen.hpp
diff options
context:
space:
mode:
authorzheng_wenlong <wenlong_zheng@nexty-ele.com>2017-10-23 14:48:42 +0900
committerZheng Wenlong <wenlong_zheng@nexty-ele.com>2017-10-26 04:55:27 +0000
commite04596bb2ab902f755db2b6a9bd5005b765f3e7f (patch)
tree1aff6dd15c6fdba607450fb6049c8e08695565b3 /include/libhomescreen.hpp
parent5bc5f80436ef7d2f3c4f674548d2ba2e7aaa7194 (diff)
Use new OnScreenReply API in libhomescreen
With homescreen-service added OnScreenReply, we can add the OnScreenReply to libhomescreen so applications can use this api easily. BUG-AGL: SPEC-985 Change-Id: I8038fea7471d1ae0777dcbff19e45c38fb6f614f Signed-off-by: zheng_wenlong <wenlong_zheng@nexty-ele.com>
Diffstat (limited to 'include/libhomescreen.hpp')
-rw-r--r--include/libhomescreen.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/libhomescreen.hpp b/include/libhomescreen.hpp
index 9034dc8..0d3815d 100644
--- a/include/libhomescreen.hpp
+++ b/include/libhomescreen.hpp
@@ -42,7 +42,8 @@ public:
enum EventType {
Event_TapShortcut = 1,
- Event_OnScreenMessage
+ Event_OnScreenMessage,
+ Event_OnScreenReply
};
static const std::vector<std::string> api_list;
@@ -53,6 +54,7 @@ public:
int tapShortcut(const char* application_name);
int onScreenMessage(const char* display_message);
+ int onScreenReply(const char* reply_message);
void set_event_handler(enum EventType et, handler_func f);