X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fwm_client.cpp;fp=src%2Fwm_client.cpp;h=e7cb55258bcc24c271eafdd25df1a09ce6c40fe2;hb=2b1bf85afe0a8b24f75386f7c24df85f9b785bd3;hp=7a93c7cc8f0607d41cf65235faa9890cac4075d4;hpb=d1188744973931f66a83968310175369cd85c231;p=apps%2Fagl-service-windowmanager.git diff --git a/src/wm_client.cpp b/src/wm_client.cpp index 7a93c7c..e7cb552 100644 --- a/src/wm_client.cpp +++ b/src/wm_client.cpp @@ -48,7 +48,7 @@ WMClient::WMClient(const string &appid, unsigned layer, unsigned surface, const #if GTEST_ENABLED string ev = x; #else - afb_event ev = afb_daemon_make_event(x.c_str()); + afb_event_t ev = afb_api_make_event(afbBindingV3root, x.c_str()); #endif evname2list[x] = ev; } @@ -66,7 +66,7 @@ WMClient::WMClient(const string &appid, const string &role) #if GTEST_ENABLED string ev = x; #else - afb_event ev = afb_daemon_make_event(x.c_str()); + afb_event_t ev = afb_api_make_event(afbBindingV3root, x.c_str()); #endif evname2list[x] = ev; } @@ -85,7 +85,7 @@ WMClient::WMClient(const string &appid, unsigned layer, const string &role) #if GTEST_ENABLED string ev = x; #else - afb_event ev = afb_daemon_make_event(x.c_str()); + afb_event_t ev = afb_api_make_event(afbBindingV3root, x.c_str()); #endif evname2list[x] = ev; } @@ -144,7 +144,7 @@ bool WMClient::removeSurfaceIfExist(unsigned surface) #if GTEST_ENABLED -bool WMClient::subscribe(afb_req req, const string &evname) +bool WMClient::subscribe(afb_req_t req, const string &evname) { if(evname != kKeyError){ HMI_DEBUG("error is only enabeled for now");