Add the base code for gtest verification
[platform/core/connectivity/bluetooth-agent.git] / hid-agent / bluetooth-hid-agent.h
index 8552031..3a277a8 100644 (file)
 #define __DEF_BT_HID_AGENT_H_
 #define FUNCTION_TRACE
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include <stdio.h>
 #include <dlog.h>
 #include <glib.h>
@@ -160,4 +164,7 @@ struct sockaddr_remote {
 
 bt_hid_agent_error_t _bt_hid_disconnect_profile(void);
 
+#ifdef __cplusplus
+}
+#endif
 #endif /* __DEF_BT_HID_AGENT_H_ */