X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-clientmanager.h;h=64ca03cdda30fc712b38f44fcb63ca191b1d63a7;hb=b1dafe3d72940f158927bddf0c35aea34aa675e7;hp=cb4908821869f93e4e5c0b1de1f1ae6fa917f53e;hpb=ea459cc8988c3e664c3f9d56d3a9929775d8b57b;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-clientmanager.h b/src/hs-clientmanager.h index cb49088..64ca03c 100644 --- a/src/hs-clientmanager.h +++ b/src/hs-clientmanager.h @@ -18,7 +18,6 @@ #define HOMESCREEN_CLIENTMANAGER_H #include -#include #include #include #include @@ -46,14 +45,22 @@ public: static HS_ClientManager* instance(void); int init(void); - HS_Client* find(std::string appid); - HS_Client* getClient(afb_req req, std::string appid); - std::vector getAllClient(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); + private: - HS_ClientCtxt* createClientCtxt(afb_req req, std::string appid); - HS_Client* addClient(afb_req req, std::string appid); + HS_ClientCtxt* createClientCtxt(afb_req_t req, std::string appid); + HS_Client* addClient(afb_req_t req, std::string appid); void removeClient(std::string appid); private: