summaryrefslogtreecommitdiffstats
path: root/src/hs-client.h
diff options
context:
space:
mode:
authorwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-11-14 11:12:44 +0800
committerwang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>2018-11-14 11:12:44 +0800
commit7a123d6d802fe76a6d2eb32adacb2215d5bb873a (patch)
treecd707443b7ab659b071845e8b7b66b708335eb22 /src/hs-client.h
parentc6035c02992d874c1422cb279423017ca4c05eec (diff)
add new features in homescreen-service and homescreen
homescreen-service: add five verbs. 1.showWindow: instead of tap_shortcut and show onscreen. 2.hideWindow: used when want to hide onscreen. 3.replyShowWindow: used when post onscreen reply information to application. 4.showNotification: used by application who want to display notification on homescreen top area. 5.showInformation: used by application who want to display information on homescreen botton area. homescreen: 1.add fullscreen transfer button. 2.display notification and information. Bug-AGL: SPEC-1931 Change-Id: I612e541243ee6502eb90ff1aa2ab4d99bfbc7156 Signed-off-by: wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com>
Diffstat (limited to 'src/hs-client.h')
-rw-r--r--src/hs-client.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/hs-client.h b/src/hs-client.h
index 2564587..16fa39c 100644
--- a/src/hs-client.h
+++ b/src/hs-client.h
@@ -31,10 +31,15 @@ public:
~HS_Client();
int tap_shortcut(const char* appid);
+ int showWindow(afb_req_t request, const char* appid);
+ int hideWindow(afb_req_t request);
+ int replyShowWindow(afb_req_t request, const char* appid);
int on_screen_message (afb_req_t request, const char* message);
int on_screen_reply (afb_req_t request, const char* message);
int subscribe(afb_req_t request, const char* event);
int unsubscribe(afb_req_t request, const char* event);
+ int showNotification(afb_req_t request);
+ int showInformation(afb_req_t request);
private:
bool checkEvent(const char* event);