X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-clientmanager.cpp;fp=src%2Fhs-clientmanager.cpp;h=a79e9bb2a7485b92fb80c9f4061a33f50855fa06;hb=789ecb879cc529400b290eb9750fd1f9298fc690;hp=3dea3a6e88dbc745caa9874ed5ad69c1650f5422;hpb=ea459cc8988c3e664c3f9d56d3a9929775d8b57b;p=apps%2Fagl-service-homescreen.git diff --git a/src/hs-clientmanager.cpp b/src/hs-clientmanager.cpp index 3dea3a6..a79e9bb 100644 --- a/src/hs-clientmanager.cpp +++ b/src/hs-clientmanager.cpp @@ -104,7 +104,7 @@ HS_Client* HS_ClientManager::find(std::string appid) * found HS_Client pointer * */ -HS_Client* HS_ClientManager::getClient(afb_req req, std::string appid) +HS_Client* HS_ClientManager::getClient(afb_req_t req, std::string appid) { std::lock_guard lock(this->mtx); HS_Client* p = nullptr; @@ -148,7 +148,7 @@ std::vector HS_ClientManager::getAllClient(void) * HS_ClientCtxt pointer * */ -HS_ClientCtxt* HS_ClientManager::createClientCtxt(afb_req req, std::string appid) +HS_ClientCtxt* HS_ClientManager::createClientCtxt(afb_req_t req, std::string appid) { HS_ClientCtxt *ctxt = (HS_ClientCtxt *)afb_req_context_get(req); if (!ctxt) @@ -171,7 +171,7 @@ HS_ClientCtxt* HS_ClientManager::createClientCtxt(afb_req req, std::string appid * HS_Client pointer * */ -HS_Client* HS_ClientManager::addClient(afb_req req, std::string appid) +HS_Client* HS_ClientManager::addClient(afb_req_t req, std::string appid) { return (client_list[appid] = new HS_Client(req, appid)); }