From 9d859cd24dad9762c78b86b2dd5d7a71d0464453 Mon Sep 17 00:00:00 2001 From: wang_zhiqiang Date: Fri, 11 Jan 2019 15:37:57 +0800 Subject: improve homescreen-servcie Change-Id: I0c7de82ce351c770caf0da7b20a825a85fcda58e --- src/hs-clientmanager.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/hs-clientmanager.h') 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); -- cgit 1.2.3-korg