aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindings/eldbus_js/Eldbus_Js.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/eldbus_js/Eldbus_Js.hh')
-rw-r--r--src/bindings/eldbus_js/Eldbus_Js.hh48
1 files changed, 48 insertions, 0 deletions
diff --git a/src/bindings/eldbus_js/Eldbus_Js.hh b/src/bindings/eldbus_js/Eldbus_Js.hh
new file mode 100644
index 0000000000..00da9ca924
--- /dev/null
+++ b/src/bindings/eldbus_js/Eldbus_Js.hh
@@ -0,0 +1,48 @@
+
+#ifndef EFL_ELDBUS_JS_HH
+#define EFL_ELDBUS_JS_HH
+
+#include <Eina.hh>
+#include <Eina_Js.hh>
+
+#include <Eldbus.h>
+
+#ifdef EAPI
+# undef EAPI
+#endif
+
+#ifdef _WIN32
+# ifdef EFL_EINA_JS_BUILD
+# ifdef DLL_EXPORT
+# define EAPI __declspec(dllexport)
+# else
+# define EAPI
+# endif /* ! DLL_EXPORT */
+# else
+# define EAPI __declspec(dllimport)
+# endif /* ! EFL_ECORE_BUILD */
+#else
+# ifdef __GNUC__
+# if __GNUC__ >= 4
+# define EAPI __attribute__ ((visibility("default")))
+# else
+# define EAPI
+# endif
+# else
+# define EAPI
+# endif
+#endif /* ! _WIN32 */
+
+namespace efl { namespace eldbus { namespace js {
+
+EAPI void register_eldbus_connection(v8::Isolate* isolate, v8::Handle<v8::Object> exports);
+EAPI void register_eldbus_core(v8::Isolate* isolate, v8::Handle<v8::Object> exports);
+EAPI void register_eldbus_message(v8::Isolate* isolate, v8::Handle<v8::Object> exports);
+EAPI void register_eldbus_object_mapper(v8::Isolate* isolate, v8::Handle<v8::Object> exports);
+EAPI void register_eldbus(v8::Isolate* isolate, v8::Handle<v8::Object> exports);
+
+} } }
+
+#include <eldbus_js_util.hh>
+
+#endif