aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindings/ecore_js/ecore_js_poller.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings/ecore_js/ecore_js_poller.hh')
-rw-r--r--src/bindings/ecore_js/ecore_js_poller.hh35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/bindings/ecore_js/ecore_js_poller.hh b/src/bindings/ecore_js/ecore_js_poller.hh
new file mode 100644
index 0000000000..3e217bec3f
--- /dev/null
+++ b/src/bindings/ecore_js/ecore_js_poller.hh
@@ -0,0 +1,35 @@
+#ifndef ECORE_JS_POLLER_HH
+#define ECORE_JS_POLLER_HH
+
+#include <Eina.hh>
+#include EINA_STRINGIZE(V8_INCLUDE_HEADER)
+
+#include <eina_js_compatibility.hh>
+
+namespace efl { namespace ecore { namespace js {
+
+using ::efl::eina::js::compatibility_new;
+using ::efl::eina::js::compatibility_return_type;
+using ::efl::eina::js::compatibility_callback_info_type;
+using ::efl::eina::js::compatibility_return;
+using ::efl::eina::js::compatibility_get_pointer_internal_field;
+using ::efl::eina::js::compatibility_set_pointer_internal_field;
+using ::efl::eina::js::compatibility_persistent;
+
+void register_poller_core(v8::Isolate *isolate, v8::Handle<v8::Object> global,
+ v8::Handle<v8::String> name);
+
+void register_poller_poll_interval_set(v8::Isolate *isolate,
+ v8::Handle<v8::Object> global,
+ v8::Handle<v8::String> name);
+
+void register_poller_poll_interval_get(v8::Isolate *isolate,
+ v8::Handle<v8::Object> global,
+ v8::Handle<v8::String> name);
+
+void register_poller_add(v8::Isolate *isolate, v8::Handle<v8::Object> global,
+ v8::Handle<v8::String> name);
+
+} } } // namespace efl { namespace ecore { namespace js {
+
+#endif /* ECORE_JS_POLLER_HH */