aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindings/ecore_js/Ecore_Js.hh
blob: 3f877f3fc883731c54f1780aa490236ff8383421 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58

#ifndef EFL_ECORE_JS_HH
#define EFL_ECORE_JS_HH

#include <Ecore.hh>
#include <Ecore_File.h>
#include <Eina_Js.hh>

#ifdef EAPI
# undef EAPI
#endif

#ifdef _WIN32
# ifdef EFL_ECORE_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 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;

EAPI void register_ecore_animator(v8::Isolate *isolate,v8::Handle<v8::Object> exports);
EAPI void register_ecore_event(v8::Isolate* isolate, v8::Handle<v8::Object> exports);
EAPI void register_ecore_file(v8::Isolate* isolate, v8::Handle<v8::Object> exports);
EAPI void register_ecore_idle(v8::Isolate *isolate,v8::Handle<v8::Object> exports);
EAPI void register_ecore_job(v8::Isolate *isolate,v8::Handle<v8::Object> exports);
EAPI void register_ecore_mainloop(v8::Isolate *isolate,v8::Handle<v8::Object> exports);
EAPI void register_ecore_poller(v8::Isolate *isolate,v8::Handle<v8::Object> exports);
EAPI void register_ecore_throttle(v8::Isolate *isolate,v8::Handle<v8::Object> exports);
EAPI void register_ecore_timer(v8::Isolate *isolate,v8::Handle<v8::Object> exports);

EAPI void register_ecore(v8::Isolate *isolate,v8::Handle<v8::Object> exports);

} } }

#endif