summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
authorLauro Moura <lauromoura@expertisesolutions.com.br>2016-07-26 18:21:02 -0300
committerFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2016-10-25 12:23:34 -0200
commit4f52588b3ce86e3bef7041d76d07eda58c41c79d (patch)
treebbec523a2ac6595bb8481ab5924e937aa7ebcced /src/bindings
parentc08eedfd11c7aed67bc5341d5cdb08765919ad24 (diff)
efl_js: Update JS examples
Changing imports, functions, etc. Also export "cast" function for all eolian_js generated classes.
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/js/efl_js/efl_js.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bindings/js/efl_js/efl_js.cc b/src/bindings/js/efl_js/efl_js.cc
index 8a5cec3..a4b28d8 100644
--- a/src/bindings/js/efl_js/efl_js.cc
+++ b/src/bindings/js/efl_js/efl_js.cc
@@ -73,6 +73,7 @@ EAPI void register_ecore_audio_out_sndfile(v8::Handle<v8::Object> global, v8::Is
73 73
74namespace efl { 74namespace efl {
75EAPI void register_animator(v8::Handle<v8::Object> global, v8::Isolate* isolate); 75EAPI void register_animator(v8::Handle<v8::Object> global, v8::Isolate* isolate);
76EAPI void register_container(v8::Handle<v8::Object> global, v8::Isolate* isolate);
76EAPI void register_control(v8::Handle<v8::Object> global, v8::Isolate* isolate); 77EAPI void register_control(v8::Handle<v8::Object> global, v8::Isolate* isolate);
77EAPI void register_file(v8::Handle<v8::Object> global, v8::Isolate* isolate); 78EAPI void register_file(v8::Handle<v8::Object> global, v8::Isolate* isolate);
78EAPI void register_image(v8::Handle<v8::Object> global, v8::Isolate* isolate); 79EAPI void register_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
@@ -87,6 +88,7 @@ EAPI void register_video(v8::Handle<v8::Object> global, v8::Isolate* isolate);
87EAPI void register_flip(v8::Handle<v8::Object> global, v8::Isolate* isolate); 88EAPI void register_flip(v8::Handle<v8::Object> global, v8::Isolate* isolate);
88EAPI void register_frame(v8::Handle<v8::Object> global, v8::Isolate* isolate); 89EAPI void register_frame(v8::Handle<v8::Object> global, v8::Isolate* isolate);
89EAPI void register_box(v8::Handle<v8::Object> global, v8::Isolate* isolate); 90EAPI void register_box(v8::Handle<v8::Object> global, v8::Isolate* isolate);
91EAPI void register_image(v8::Handle<v8::Object> global, v8::Isolate* isolate);
90}} 92}}
91 93
92namespace efl { namespace ui { namespace win { 94namespace efl { namespace ui { namespace win {
@@ -380,7 +382,7 @@ EAPI void init(v8::Handle<v8::Object> exports)
380 // elm::register_combobox(exports, v8::Isolate::GetCurrent()); 382 // elm::register_combobox(exports, v8::Isolate::GetCurrent());
381 383
382 // doesn't exist 384 // doesn't exist
383 // elm::register_container(exports, v8::Isolate::GetCurrent()); 385 efl::register_container(exports, v8::Isolate::GetCurrent());
384 386
385 elm::register_ctxpopup(exports, v8::Isolate::GetCurrent()); 387 elm::register_ctxpopup(exports, v8::Isolate::GetCurrent());
386 elm::register_datetime(exports, v8::Isolate::GetCurrent()); 388 elm::register_datetime(exports, v8::Isolate::GetCurrent());
@@ -398,6 +400,7 @@ EAPI void init(v8::Handle<v8::Object> exports)
398 elm::register_flipselector(exports, v8::Isolate::GetCurrent()); 400 elm::register_flipselector(exports, v8::Isolate::GetCurrent());
399 efl::ui::register_frame(exports, v8::Isolate::GetCurrent()); 401 efl::ui::register_frame(exports, v8::Isolate::GetCurrent());
400 efl::ui::register_box(exports, v8::Isolate::GetCurrent()); 402 efl::ui::register_box(exports, v8::Isolate::GetCurrent());
403 efl::ui::register_image(exports, v8::Isolate::GetCurrent());
401 404
402 // crash 405 // crash
403 // elm::register_gengrid(exports, v8::Isolate::GetCurrent()); 406 // elm::register_gengrid(exports, v8::Isolate::GetCurrent());