Add the base code for gtest verification
[platform/core/connectivity/bluetooth-agent.git] / hf-agent / bluetooth-hf-agent.h
index 0a56557..a86a7f1 100644 (file)
 #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"
 
@@ -258,6 +262,9 @@ typedef enum {
 #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) { \
@@ -303,7 +310,7 @@ typedef struct {
 
        GDBusMethodInvocation *context;
        char *path;
-}bt_hf_agent_info_t;
+} bt_hf_agent_info_t;
 
 typedef struct {
        int id;
@@ -336,4 +343,7 @@ struct sockaddr_sco {
        bdaddr_t        sco_bdaddr;
 };
 
+#ifdef __cplusplus
+}
+#endif
 #endif /* __DEF_BT_HF_AGENT_H_ */