diff options
author | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2018-11-29 13:12:43 +0000 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2018-11-30 17:44:40 +0000 |
commit | d9dc8ef258ed2ddeeca83775eee945dbfdae59c5 (patch) | |
tree | d2a8853847e48925c0ecbb82e58be0a3e52a6e36 /src/wm_client.hpp | |
parent | c5b67725974af99e50fa5dc02843c7d741add880 (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.hpp')
-rw-r--r-- | src/wm_client.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/wm_client.hpp b/src/wm_client.hpp index 7e92ed5..623d34f 100644 --- a/src/wm_client.hpp +++ b/src/wm_client.hpp @@ -24,7 +24,6 @@ extern "C" { -#define AFB_BINDING_VERSION 2 #include <afb/afb-binding.h> } @@ -56,7 +55,7 @@ class WMClient bool removeSurfaceIfExist(unsigned surface); #if GTEST_ENABLED - bool subscribe(afb_req req, const std::string &event_name); + bool subscribe(afb_req_t req, const std::string &event_name); void emitError(WM_CLIENT_ERROR_EVENT ev); #endif @@ -74,9 +73,9 @@ class WMClient // This is for unit test. afb_make_event occurs sig11 if call not in afb-binding std::unordered_map<std::string, std::string> event2list; #else - std::unordered_map<std::string, struct afb_event> evname2list; + std::unordered_map<std::string, afb_event_t> evname2list; #endif }; } // namespace wm -#endif
\ No newline at end of file +#endif |