summaryrefslogtreecommitdiffstats
path: root/src/af-steering-wheel-binding.h
diff options
context:
space:
mode:
authorLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-11-18 13:52:01 +0100
committerLi Xiaoming <lixm.fnst@cn.fujitsu.com>2019-11-18 13:52:01 +0100
commit32837eddf0644aef8c71a208d87aaa8140eeafaa (patch)
tree19f69200211c36853edf02d96d2bffe13b5543f8 /src/af-steering-wheel-binding.h
parent6d5d619a059b5aeb76c2add9bc28d45bd31279e9 (diff)
Migration to binding V3
Bug-AGL: SPEC-2745 Change-Id: Idbaecfaf7d48e35fcb9d9964d682ff99702a05cd Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
Diffstat (limited to 'src/af-steering-wheel-binding.h')
-rw-r--r--src/af-steering-wheel-binding.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/af-steering-wheel-binding.h b/src/af-steering-wheel-binding.h
index 1b7323c..d7130fa 100644
--- a/src/af-steering-wheel-binding.h
+++ b/src/af-steering-wheel-binding.h
@@ -17,17 +17,17 @@
#ifndef _AF_WHEEL_BINDING_H_
#define _AF_WHEEL_BINDING_H_
-#define AFB_BINDING_VERSION 2
+#define AFB_BINDING_VERSION 3
#include <afb/afb-binding.h>
#include "prop_info.h"
#if !defined(NO_BINDING_VERBOSE_MACRO)
-#define ERRMSG(msg, ...) AFB_ERROR(msg,##__VA_ARGS__)
-#define WARNMSG(msg, ...) AFB_WARNING(msg,##__VA_ARGS__)
-#define DBGMSG(msg, ...) AFB_DEBUG(msg,##__VA_ARGS__)
-#define INFOMSG(msg, ...) AFB_INFO(msg,##__VA_ARGS__)
-#define NOTICEMSG(msg, ...) AFB_NOTICE(msg,##__VA_ARGS__)
+#define ERRMSG(msg, ...) AFB_API_ERROR(afbBindingV3root, msg, ##__VA_ARGS__)
+#define WARNMSG(msg, ...) AFB_API_WARNING(afbBindingV3root, msg, ##__VA_ARGS__)
+#define DBGMSG(msg, ...) AFB_API_DEBUG(afbBindingV3root, msg, ##__VA_ARGS__)
+#define INFOMSG(msg, ...) AFB_API_INFO(afbBindingV3root, msg, ##__VA_ARGS__)
+#define NOTICEMSG(msg, ...) AFB_API_NOTICE(afbBindingV3root, msg, ##__VA_ARGS__)
#endif
extern int notify_property_changed(struct prop_info_t *property_info);