diff options
author | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-01-11 15:37:57 +0800 |
---|---|---|
committer | wang_zhiqiang <wang_zhiqiang@dl.cn.nexty-ele.com> | 2019-01-11 15:37:57 +0800 |
commit | 9d859cd24dad9762c78b86b2dd5d7a71d0464453 (patch) | |
tree | 7b5f98ae356fb6be686276c7a0b9a9beafef07db /src/hs-clientmanager.h | |
parent | 83cc1aeb7dcb0ce030a24f9aa079bb15bc2ef60a (diff) |
improve homescreen-servcie
Change-Id: I0c7de82ce351c770caf0da7b20a825a85fcda58e
Diffstat (limited to 'src/hs-clientmanager.h')
-rw-r--r-- | src/hs-clientmanager.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/hs-clientmanager.h b/src/hs-clientmanager.h index 64ca03c..d485ea8 100644 --- a/src/hs-clientmanager.h +++ b/src/hs-clientmanager.h @@ -45,18 +45,8 @@ public: static HS_ClientManager* instance(void); int init(void); - void removeClientCtxt(void *data); - - int tap_shortcut(afb_req_t request); - int showWindow(afb_req_t request); - int hideWindow(afb_req_t request); - int replyShowWindow(afb_req_t request); - int on_screen_message(afb_req_t request); - int on_screen_reply(afb_req_t request); - int subscribe(afb_req_t request); - int unsubscribe(afb_req_t request); - int showNotification(afb_req_t request); - int showInformation(afb_req_t request); + int handleRequest(afb_req_t request, const char *verb, const char *appid = nullptr); + void removeClientCtxt(void *data); // don't use, internal only private: HS_ClientCtxt* createClientCtxt(afb_req_t req, std::string appid); |