#ifndef __DEF_BT_HF_AGENT_H_
#define __DEF_BT_HF_AGENT_H_
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#undef LOG_TAG
#define LOG_TAG "BLUETOOTH_HF_AGENT"
#define BT_MANAGER_INTERFACE "org.freedesktop.DBus.ObjectManager"
#define BT_ADAPTER_INTERFACE "org.bluez.Adapter1"
+#define BT_INTERFACES_ADDED "InterfacesAdded"
+#define BT_INTERFACES_REMOVED "InterfacesRemoved"
+
#define retv_if(expr, val) \
do { \
if (expr) { \
GDBusMethodInvocation *context;
char *path;
-}bt_hf_agent_info_t;
+} bt_hf_agent_info_t;
typedef struct {
int id;
bdaddr_t sco_bdaddr;
};
+#ifdef __cplusplus
+}
+#endif
#endif /* __DEF_BT_HF_AGENT_H_ */