elocation: allow usage of it with C++.
authorCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Apr 2015 13:17:49 +0000 (15:17 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Tue, 28 Apr 2015 13:18:09 +0000 (15:18 +0200)
src/lib/elocation/Elocation.h

index 4d23493171c287e70973014f1f0aad4bb0d7b791..5bb2772ef3e12e5f08dac38bd20522cca65cf49e 100644 (file)
 #include <Ecore.h>
 #include <Eldbus.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 /**
  * @ingroup Location
  * @brief Available location events that are emitted from the library
@@ -416,6 +420,10 @@ EAPI Eina_Bool elocation_init(void);
  */
 EAPI void elocation_shutdown(void);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* BETA API */
 
 #endif