Add the base code for gtest verification
[platform/core/connectivity/bluetooth-agent.git] / ag-agent / bluetooth-ag-agent.h
index 3198660..c6b26b0 100755 (executable)
 #ifndef __DEF_BT_AG_AGENT_H_
 #define __DEF_BT_AG_AGENT_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #undef LOG_TAG
 #define LOG_TAG "BLUETOOTH_AG_AGENT"
 
@@ -628,4 +632,7 @@ bt_hfp_agent_error_t _bt_ag_agent_vendor_cmd(const gchar *cmd,
 void _bt_ag_agent_check_transport_state(void);
 #endif
 
+#ifdef __cplusplus
+}
+#endif
 #endif /* __DEF_BT_AG_AGENT_H_ */