aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_client.hpp
diff options
context:
space:
mode:
authorJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-11-30 21:07:10 +0000
committerGerrit Code Review <gerrit@automotivelinux.org>2018-11-30 21:07:10 +0000
commit2b1bf85afe0a8b24f75386f7c24df85f9b785bd3 (patch)
tree8b727b720dd475deb8fbd52ec0cae83613b156ec /src/wm_client.hpp
parentd1188744973931f66a83968310175369cd85c231 (diff)
parentd9dc8ef258ed2ddeeca83775eee945dbfdae59c5 (diff)
Merge "Migrates bindings v3"guppy_6.99.2guppy/6.99.26.99.2
Diffstat (limited to 'src/wm_client.hpp')
-rw-r--r--src/wm_client.hpp7
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