diff options
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); |