summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2015-04-28 15:17:49 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-28 15:18:09 +0200
commit39b14d705adb349febf413995b35dcd92fb048f4 (patch)
treeb8e9519115fe34cedf31b3573128c5f639f98213
parentda3684b9bc94f828c42e8ec6e74941c6aa2b22a8 (diff)
downloadefl-39b14d705adb349febf413995b35dcd92fb048f4.tar.gz
elocation: allow usage of it with C++.
-rw-r--r--src/lib/elocation/Elocation.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/elocation/Elocation.h b/src/lib/elocation/Elocation.h
index 4d23493171..5bb2772ef3 100644
--- a/src/lib/elocation/Elocation.h
+++ b/src/lib/elocation/Elocation.h
@@ -66,6 +66,10 @@
#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