summaryrefslogtreecommitdiffstats
path: root/src/wm_client.cpp
diff options
context:
space:
mode:
authorTadao Tanikawa <tanikawa.tadao@jp.panasonic.com>2018-11-29 13:12:43 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-11-30 17:44:40 +0000
commitd9dc8ef258ed2ddeeca83775eee945dbfdae59c5 (patch)
treed2a8853847e48925c0ecbb82e58be0a3e52a6e36 /src/wm_client.cpp
parentc5b67725974af99e50fa5dc02843c7d741add880 (diff)
Migrates bindings v3
This patch migrates biding API of WM to v3. Change-Id: I2f2b23a8af437a414e2a00d629d3e72d0614eb72 Signed-off-by: Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com>
Diffstat (limited to 'src/wm_client.cpp')
-rw-r--r--src/wm_client.cpp8
1 files changed, 4 insertions, 4 deletions
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");