This is the last step of the Eo renaming efforts.
#include "class_simple.h"
static void
-_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
}
static void
_main_loop_death(void *data EINA_UNUSED,
- const Eo_Event *ev EINA_UNUSED)
+ const Efl_Event *ev EINA_UNUSED)
{
struct elm_test *t;
* efl_main and not be static - must be a visible symbol with EAPI_MAIN infront */
EAPI_MAIN void
efl_main(void *data EINA_UNUSED,
- const Eo_Event *ev)
+ const Efl_Event *ev)
{
Efl_Loop_Arguments *arge = ev->info;
Eina_Bool test_win_only = EINA_FALSE;
};
static void
-_anim_tick(void *data EINA_UNUSED, const Eo_Event *event)
+_anim_tick(void *data EINA_UNUSED, const Efl_Event *event)
{
Evas_Object *bub, *sh;
Evas_Coord x, y, w, h, vw, vh;
}
static void
-_close_cb(void *data, const Eo_Event *event)
+_close_cb(void *data, const Efl_Event *event)
{
App_View_Context *ctx = data;
if (ctx->win)
}
static void
-_pause_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_pause_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
App_View_Context *ctx = data;
_text_update(ctx, "paused");
}
static void
-_resume_cb(void *data, const Eo_Event *event)
+_resume_cb(void *data, const Efl_Event *event)
{
App_View_Context *ctx = data;
}
static void
-_view_del_cb(void *data, const Eo_Event *event)
+_view_del_cb(void *data, const Efl_Event *event)
{
App_View_Context *ctx = data;
}
static void
-_terminate_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_terminate_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
const char *title = NULL;
}
static void
-_server_del_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_server_del_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_App_Server **server = data;
*server = NULL;
}
static void
-_elm_code_test_line_clicked_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_elm_code_test_line_clicked_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Code_Line *line;
}
static void
-_elm_code_test_line_done_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_elm_code_test_line_done_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Code_Line *line;
}
static void
-_context_menu_show_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_context_menu_show_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
elm_entry_context_menu_clear(event->object);
elm_entry_context_menu_item_add(event->object, "MenuD1", NULL, ELM_ICON_NONE, _item_cb, NULL);
}
static void
-my_pop_dismissed(void *data EINA_UNUSED, const Eo_Event *ev)
+my_pop_dismissed(void *data EINA_UNUSED, const Efl_Event *ev)
{
efl_del(ev->object);
}
} testdata;
static void
-_pointer_down(void *data, const Eo_Event *ev)
+_pointer_down(void *data, const Efl_Event *ev)
{
testdata *td = data;
td->down = 1;
}
static void
-_pointer_move(void *data, const Eo_Event *ev)
+_pointer_move(void *data, const Efl_Event *ev)
{
testdata *td = data;
efl_del(td->evmove);
}
static void
-_pointer_up(void *data, const Eo_Event *ev)
+_pointer_up(void *data, const Efl_Event *ev)
{
testdata *td = data;
td->down = 0;
}
static void
-_key_down(void *data, const Eo_Event *ev)
+_key_down(void *data, const Efl_Event *ev)
{
testdata *td = data;
char str[1024];
#endif
static void
-_key_up(void *data, const Eo_Event *ev)
+_key_up(void *data, const Efl_Event *ev)
{
testdata *td = data;
}
static void
-_clicked_button1(void *data, const Eo_Event *ev EINA_UNUSED)
+_clicked_button1(void *data, const Efl_Event *ev EINA_UNUSED)
{
testdata *td = data;
Eo *txt = td->text;
}
static void
-_clicked_button2(void *data, const Eo_Event *ev EINA_UNUSED)
+_clicked_button2(void *data, const Efl_Event *ev EINA_UNUSED)
{
testdata *td = data;
Eo *bt = td->button;
}
static void
-_win_del(void *data, const Eo_Event *ev EINA_UNUSED)
+_win_del(void *data, const Efl_Event *ev EINA_UNUSED)
{
testdata *td = data;
free(td);
}
static void
-_api_bt_clicked(void *data, const Eo_Event *ev)
+_api_bt_clicked(void *data, const Efl_Event *ev)
{ /* Will add here a SWITCH command containing code to modify test-object */
/* in accordance a->state value. */
api_data *a = data;
}
static void
-_ch_grid(void *data, const Eo_Event *ev)
+_ch_grid(void *data, const Efl_Event *ev)
{
Eo *gd = data;
int x, y, w, h;
}
static void
-_win_del(void *data, const Eo_Event *ev EINA_UNUSED)
+_win_del(void *data, const Efl_Event *ev EINA_UNUSED)
{
free(data);
}
}
static void
-_app_view_prop_changed_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_app_view_prop_changed_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_App_View_State state = ELM_APP_VIEW_STATE_UNKNOWN;
}
static void
-_view_list_update_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_view_list_update_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
if (app_selected == event->object)
_app_clicked(event->object, NULL, NULL);
} Weight_Mode;
static void
-weights_cb(void *data, const Eo_Event *event)
+weights_cb(void *data, const Efl_Event *event)
{
Weight_Mode mode = elm_radio_state_value_get(event->object);
}
static void
-user_min_slider_cb(void *data EINA_UNUSED, const Eo_Event *event)
+user_min_slider_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
int val = elm_slider_value_get(event->object);
efl_gfx_size_hint_min_set(objects[3], val, val);
}
static void
-padding_slider_cb(void *data, const Eo_Event *event)
+padding_slider_cb(void *data, const Efl_Event *event)
{
int val = elm_slider_value_get(event->object);
efl_pack_padding_set(data, val, val, EINA_TRUE);
}
static void
-margin_slider_cb(void *data, const Eo_Event *event)
+margin_slider_cb(void *data, const Efl_Event *event)
{
int val = elm_slider_value_get(event->object);
efl_gfx_size_hint_margin_set(data, val, val, val, val);
}
static void
-alignh_slider_cb(void *data, const Eo_Event *event)
+alignh_slider_cb(void *data, const Efl_Event *event)
{
double av, val;
val = elm_slider_value_get(event->object);
}
static void
-alignv_slider_cb(void *data, const Eo_Event *event)
+alignv_slider_cb(void *data, const Efl_Event *event)
{
double ah, val;
val = elm_slider_value_get(event->object);
static Eina_Bool flow = EINA_FALSE;
static void
-flow_check_cb(void *data, const Eo_Event *event)
+flow_check_cb(void *data, const Efl_Event *event)
{
flow = elm_check_selected_get(event->object);
efl_pack_layout_engine_set(data, flow ? EFL_UI_BOX_FLOW_CLASS : NULL, &s_flow_params);
}
static void
-horiz_check_cb(void *data, const Eo_Event *event)
+horiz_check_cb(void *data, const Efl_Event *event)
{
Eina_Bool chk = elm_check_selected_get(event->object);
efl_orientation_set(data, chk ? EFL_ORIENT_HORIZONTAL : EFL_ORIENT_VERTICAL);
}
static void
-homo_check_cb(void *data, const Eo_Event *event)
+homo_check_cb(void *data, const Efl_Event *event)
{
Eina_Bool chk = elm_check_selected_get(event->object);
s_flow_params.homogenous = chk;
}
static void
-max_size_check_cb(void *data, const Eo_Event *event)
+max_size_check_cb(void *data, const Efl_Event *event)
{
Eina_Bool chk = elm_check_selected_get(event->object);
s_flow_params.max_size = chk;
}
static void
-left_check_cb(void *data, const Eo_Event *event)
+left_check_cb(void *data, const Efl_Event *event)
{
Eina_Bool chk = elm_check_selected_get(event->object);
if (chk)
}
static void
-custom_check_cb(void *data, const Eo_Event *event)
+custom_check_cb(void *data, const Efl_Event *event)
{
EFL_OBJECT_OVERRIDE_OPS_DEFINE(custom_layout_ops,
EFL_OBJECT_OP_FUNC_OVERRIDE(efl_pack_layout_update, _custom_layout_update));
#define CUSTOM_ENGINE_CLASS _test_ui_grid_custom_engine_class_get()
static void
-weights_cb(void *data, const Eo_Event *event)
+weights_cb(void *data, const Efl_Event *event)
{
Weight_Mode mode = elm_radio_state_value_get(event->object);
Eo *grid = data;
}
static void
-user_min_slider_cb(void *data EINA_UNUSED, const Eo_Event *event)
+user_min_slider_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
int val = elm_slider_value_get(event->object);
for (int i = 0; i < 6; i++)
}
static void
-padding_slider_cb(void *data, const Eo_Event *event)
+padding_slider_cb(void *data, const Efl_Event *event)
{
int val = elm_slider_value_get(event->object);
efl_pack_padding_set(data, val, val, EINA_TRUE);
}
static void
-margin_slider_cb(void *data, const Eo_Event *event)
+margin_slider_cb(void *data, const Efl_Event *event)
{
int val = elm_slider_value_get(event->object);
efl_gfx_size_hint_margin_set(data, val, val, val, val);
}
static void
-btnmargins_slider_cb(void *data, const Eo_Event *event)
+btnmargins_slider_cb(void *data, const Efl_Event *event)
{
int val = elm_slider_value_get(event->object);
for (int i = 1; i < 7; i++)
}
static void
-layout_updated_cb(void *data, const Eo_Event *event)
+layout_updated_cb(void *data, const Efl_Event *event)
{
Elm_Label *o = data;
char buf[64];
}
static void
-child_evt_cb(void *data, const Eo_Event *event)
+child_evt_cb(void *data, const Efl_Event *event)
{
Elm_Label *o = data;
Efl_Gfx *it = event->info;
}
static void
-remove_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+remove_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
efl_del(ev->object);
}
static void
-append_cb(void *data, const Eo_Event *ev EINA_UNUSED)
+append_cb(void *data, const Efl_Event *ev EINA_UNUSED)
{
Eo *grid = data;
Eo *o = elm_button_add(grid);
}
static void
-clear_cb(void *data, const Eo_Event *ev EINA_UNUSED)
+clear_cb(void *data, const Efl_Event *ev EINA_UNUSED)
{
Eo *grid = data;
efl_pack_clear(grid);
}
static void
-_notify_end(void *data EINA_UNUSED, const Eo_Event *event)
+_notify_end(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_del(event->object);
efl_event_callback_stop(event->object);
return EINA_TRUE;
}
-static void _play_finished(void *data EINA_UNUSED, const Eo_Event *event)
+static void _play_finished(void *data EINA_UNUSED, const Efl_Event *event)
{
const char *name;
Eina_Bool ret;
double volume = 1;
Eina_List *inputs = NULL;
-static void _play_finished(void *data EINA_UNUSED, const Eo_Event *event)
+static void _play_finished(void *data EINA_UNUSED, const Efl_Event *event)
{
const char *name;
Eo *out;
/* NOTE: input events are only used as debug, you can omit these */
static void
-_input_can_read_changed(void *data EINA_UNUSED, const Eo_Event *event)
+_input_can_read_changed(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: input can_read=%d\n",
efl_io_reader_can_read_get(event->object));
}
static void
-_input_eos(void *data EINA_UNUSED, const Eo_Event *event)
+_input_eos(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: input eos=%d\n",
efl_io_reader_eos_get(event->object));
/* NOTE: output events are only used as debug, you can omit these */
static void
-_output_can_write_changed(void *data EINA_UNUSED, const Eo_Event *event)
+_output_can_write_changed(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: output can_write=%d\n",
efl_io_writer_can_write_get(event->object));
{ EFL_IO_WRITER_EVENT_CAN_WRITE_CHANGED, _output_can_write_changed });
static void
-_output_buffer_reallocated(void *data EINA_UNUSED, const Eo_Event *event)
+_output_buffer_reallocated(void *data EINA_UNUSED, const Efl_Event *event)
{
Eina_Slice slice;
static void
-_dialer_resolved(void *data EINA_UNUSED, const Eo_Event *event)
+_dialer_resolved(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: dialer resolved '%s' to '%s'\n",
efl_net_dialer_address_dial_get(event->object),
}
static void
-_dialer_error(void *data EINA_UNUSED, const Eo_Event *event)
+_dialer_error(void *data EINA_UNUSED, const Efl_Event *event)
{
const Eina_Error *perr = event->info;
fprintf(stderr, "INFO: error: %d\n", *perr);
}
static void
-_dialer_connected(void *data EINA_UNUSED, const Eo_Event *event)
+_dialer_connected(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: dialer connected to '%s' (%s)\n",
efl_net_dialer_address_dial_get(event->object),
{ EFL_NET_DIALER_EVENT_CONNECTED, _dialer_connected });
static void
-_http_headers_done(void *data EINA_UNUSED, const Eo_Event *event)
+_http_headers_done(void *data EINA_UNUSED, const Efl_Event *event)
{
Eina_Iterator *itr;
Efl_Net_Http_Header *h;
}
static void
-_http_closed(void *data EINA_UNUSED, const Eo_Event *event)
+_http_closed(void *data EINA_UNUSED, const Efl_Event *event)
{
uint64_t dn, dt, un, ut;
*/
static void
-_copier_done(void *data EINA_UNUSED, const Eo_Event *event)
+_copier_done(void *data EINA_UNUSED, const Efl_Event *event)
{
Eo *destination = efl_io_copier_destination_get(event->object);
}
static void
-_copier_error(void *data EINA_UNUSED, const Eo_Event *event)
+_copier_error(void *data EINA_UNUSED, const Efl_Event *event)
{
const Eina_Error *perr = event->info;
fprintf(stderr, "INFO: error: %d\n", *perr);
}
static void
-_copier_progress(void *data EINA_UNUSED, const Eo_Event *event)
+_copier_progress(void *data EINA_UNUSED, const Efl_Event *event)
{
uint64_t r, w, t;
}
static void
-_copier_data(void *data EINA_UNUSED, const Eo_Event *event)
+_copier_data(void *data EINA_UNUSED, const Efl_Event *event)
{
const Eina_Slice *slice = event->info;
/* a piece of data was processed, it's ready-only and will only be
}
static void
-_copier_line(void *data EINA_UNUSED, const Eo_Event *event)
+_copier_line(void *data EINA_UNUSED, const Efl_Event *event)
{
const Eina_Slice *slice = event->info;
static int retval = EXIT_SUCCESS;
static void
-_copier_done(void *data, const Eo_Event *event)
+_copier_done(void *data, const Efl_Event *event)
{
fprintf(stderr, "INFO: done\n");
ecore_main_loop_quit();
}
static void
-_copier_error(void *data, const Eo_Event *event)
+_copier_error(void *data, const Efl_Event *event)
{
const Eina_Error *perr = event->info;
fprintf(stderr, "INFO: error: #%d '%s'\n", *perr, eina_error_msg_get(*perr));
}
static void
-_receiver_data(void *data EINA_UNUSED, const Eo_Event *event)
+_receiver_data(void *data EINA_UNUSED, const Efl_Event *event)
{
Eina_Slice slice;
}
static void
-_dialer_connected(void *data EINA_UNUSED, const Eo_Event *event)
+_dialer_connected(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: connected to %s (%s)\n",
efl_net_dialer_address_dial_get(event->object),
}
static void
-_copier_done(void *data EINA_UNUSED, const Eo_Event *event)
+_copier_done(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: %s done\n", efl_name_get(event->object));
}
static void
-_copier_error(void *data EINA_UNUSED, const Eo_Event *event)
+_copier_error(void *data EINA_UNUSED, const Efl_Event *event)
{
const Eina_Error *perr = event->info;
fprintf(stderr, "INFO: %s error: #%d '%s'\n",
static int waiting;
static void
-_closed(void *data EINA_UNUSED, const Eo_Event *event)
+_closed(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: closed %s\n",
efl_name_get(event->object));
}
static void
-_eos(void *data EINA_UNUSED, const Eo_Event *event)
+_eos(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: eos %s\n",
efl_name_get(event->object));
}
static void
-_connected(void *data EINA_UNUSED, const Eo_Event *event)
+_connected(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: connected %s\n",
efl_net_dialer_address_dial_get(event->object));
}
static void
-_resolved(void *data EINA_UNUSED, const Eo_Event *event)
+_resolved(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: resolved %s => %s\n",
efl_net_dialer_address_dial_get(event->object),
}
static void
-_error(void *data EINA_UNUSED, const Eo_Event *event)
+_error(void *data EINA_UNUSED, const Efl_Event *event)
{
const Eina_Error *perr = event->info;
fprintf(stderr, "INFO: error: %d '%s'\n", *perr, eina_error_msg_get(*perr));
}
static void
-_http_headers_done(void *data EINA_UNUSED, const Eo_Event *event)
+_http_headers_done(void *data EINA_UNUSED, const Efl_Event *event)
{
Eo *o = event->object;
Efl_Net_Http_Version ver = efl_net_dialer_http_version_get(o);
{ EFL_IO_READER_EVENT_EOS, _eos });
static void
-_done(void *data EINA_UNUSED, const Eo_Event *event)
+_done(void *data EINA_UNUSED, const Efl_Event *event)
{
waiting--;
fprintf(stderr, "INFO: done %s, waiting=%d\n",
/* NOTE: client i/o events are only used as debug, you can omit these */
static void
-_client_can_read_changed(void *data EINA_UNUSED, const Eo_Event *event)
+_client_can_read_changed(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: client %s can_read=%d\n",
efl_net_socket_address_remote_get(event->object),
}
static void
-_client_can_write_changed(void *data EINA_UNUSED, const Eo_Event *event)
+_client_can_write_changed(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: client %s can_write=%d\n",
efl_net_socket_address_remote_get(event->object),
}
static void
-_client_eos(void *data EINA_UNUSED, const Eo_Event *event)
+_client_eos(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: client %s eos.\n",
efl_net_socket_address_remote_get(event->object));
}
static void
-_client_closed(void *data EINA_UNUSED, const Eo_Event *event)
+_client_closed(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: client %s closed.\n",
efl_net_socket_address_remote_get(event->object));
/* echo copier is about the same socket, you can close it right away */
static void
-_echo_copier_done(void *data EINA_UNUSED, const Eo_Event *event)
+_echo_copier_done(void *data EINA_UNUSED, const Efl_Event *event)
{
Eo *copier = event->object;
fprintf(stderr, "INFO: echo copier done, close and del %p\n", copier);
}
static void
-_echo_copier_error(void *data EINA_UNUSED, const Eo_Event *event)
+_echo_copier_error(void *data EINA_UNUSED, const Efl_Event *event)
{
Eo *copier = event->object;
const Eina_Error *perr = event->info;
}
static void
-_send_copier_done(void *data, const Eo_Event *event)
+_send_copier_done(void *data, const Efl_Event *event)
{
Eo *copier = event->object;
Eo *buffer = efl_io_copier_source_get(copier);
}
static void
-_send_copier_error(void *data, const Eo_Event *event)
+_send_copier_error(void *data, const Efl_Event *event)
{
Eo *copier = event->object;
Eo *buffer = efl_io_copier_source_get(copier);
{ EFL_IO_COPIER_EVENT_ERROR, _send_copier_error});
static void
-_recv_copier_done(void *data, const Eo_Event *event)
+_recv_copier_done(void *data, const Efl_Event *event)
{
Eo *copier = event->object;
Eo *client = efl_io_copier_source_get(copier);
}
static void
-_recv_copier_error(void *data, const Eo_Event *event)
+_recv_copier_error(void *data, const Efl_Event *event)
{
Eo *copier = event->object;
Eo *buffer = efl_io_copier_source_get(copier);
* the string with socket identification.
*/
static void
-_server_client_add(void *data EINA_UNUSED, const Eo_Event *event)
+_server_client_add(void *data EINA_UNUSED, const Efl_Event *event)
{
Efl_Net_Socket *client = event->info;
}
static void
-_server_client_rejected(void *data EINA_UNUSED, const Eo_Event *event)
+_server_client_rejected(void *data EINA_UNUSED, const Efl_Event *event)
{
const char *client_address = event->info;
fprintf(stderr, "INFO: rejected client %s\n", client_address);
}
static void
-_server_error(void *data EINA_UNUSED, const Eo_Event *event)
+_server_error(void *data EINA_UNUSED, const Efl_Event *event)
{
const Eina_Error *perr = event->info;
fprintf(stderr, "INFO: error: %d\n", *perr);
}
static void
-_server_serving(void *data EINA_UNUSED, const Eo_Event *event)
+_server_serving(void *data EINA_UNUSED, const Efl_Event *event)
{
fprintf(stderr, "INFO: serving at %s\n",
efl_net_server_address_get(event->object));
efl_unref(job);
}
-void filter_cb(void *data EINA_UNUSED, const Eo_Event *event)
+void filter_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Eio_Filter_Name_Data *event_info = event->info;
static Eina_Bool should_filter = EINA_FALSE;
#include <Ecore.h>
void
-sentry_cb(void *data EINA_UNUSED, const Eo_Event *event)
+sentry_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Eio_Sentry_Event *event_info = event->info;
}
static void
-_list_selected_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_list_selected_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Efl_Model_Test_Filemvc_Data *priv = data;
Eo *child = event->info;
}
static void
-_tree_selected_cb(void *data, const Eo_Event *event)
+_tree_selected_cb(void *data, const Efl_Event *event)
{
Efl_Model_Test_Filemvc_Data *priv = data;
Eo *child = event->info;
#define HEIGHT (240)
static void
-_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED)
+_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
printf("Emotion object started playback.\n");
}
static Eina_List *curfile = NULL;
static void
-_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED)
+_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
printf("Emotion object started playback.\n");
}
}
static void
-_frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED)
+_frame_decode_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
// fprintf(stderr, "smartcb: frame_decode\n");
}
static void
-_length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_length_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object));
}
static void
-_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_position_update_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object));
}
static void
-_progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_progress_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n",
emotion_object_progress_status_get(ev->object),
}
static void
-_frame_resize_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_frame_resize_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
int w, h;
emotion_object_size_get(ev->object, &w, &h);
static Eina_List *curfile = NULL;
static void
-_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED)
+_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
printf("Emotion object started playback.\n");
}
static void
-_playback_stopped_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_playback_stopped_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
printf("Emotion playback stopped.\n");
emotion_object_play_set(ev->object, EINA_FALSE);
}
static void
-_frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED)
+_frame_decode_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
// fprintf(stderr, "smartcb: frame_decode\n");
}
static void
-_length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_length_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object));
}
static void
-_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_position_update_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object));
}
static void
-_progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_progress_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n",
emotion_object_progress_status_get(ev->object),
#define HEIGHT (240)
static void
-_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED)
+_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
{
printf("Emotion object started playback.\n");
}
}
static void
-_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
printf(">>> Emotion object started playback.\n");
_display_info(ev->object);
}
static void
-_playback_finished_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_playback_finished_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
printf(">>> Emotion object finished playback.\n");
_display_info(ev->object);
}
static void
-_open_done_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_open_done_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
printf(">>> Emotion object open done.\n");
_display_info(ev->object);
}
static void
-_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_position_update_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
printf(">>> Emotion object first position update.\n");
efl_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL);
}
static void
-_frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_frame_decode_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
printf(">>> Emotion object first frame decode.\n");
efl_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL);
}
static void
-_decode_stop_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_decode_stop_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
printf(">>> Emotion object decode stop.\n");
_display_info(ev->object);
}
static void
-_frame_resize_cb(void *data EINA_UNUSED, const Eo_Event *ev)
+_frame_resize_cb(void *data EINA_UNUSED, const Efl_Event *ev)
{
printf(">>> Emotion object frame resize.\n");
_display_info(ev->object);
} Scene_Data;
void
-_cb_clicked(void *data EINA_UNUSED, const Eo_Event *event)
+_cb_clicked(void *data EINA_UNUSED, const Efl_Event *event)
{
Eina_List *meshes = NULL, *l;
Evas_Canvas3D_Mesh *m;
}
void
-_cb_collision(void *data EINA_UNUSED, const Eo_Event *event)
+_cb_collision(void *data EINA_UNUSED, const Efl_Event *event)
{
Eina_List *meshes = NULL, *l;
Evas_Canvas3D_Mesh *m;
};
void
-_ecore_factorized_idle_event_del(void *data, const Eo_Event *event EINA_UNUSED)
+_ecore_factorized_idle_event_del(void *data, const Efl_Event *event EINA_UNUSED)
{
_ecore_factorized_idle_del(data);
}
void
-_ecore_factorized_idle_process(void *data, const Eo_Event *event EINA_UNUSED)
+_ecore_factorized_idle_process(void *data, const Efl_Event *event EINA_UNUSED)
{
Ecore_Factorized_Idle *idler = data;
}
static void
-_check_event_catcher_add(void *data, const Eo_Event *event)
+_check_event_catcher_add(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Efl_Loop_Data *pd = data;
}
static void
-_check_event_catcher_del(void *data, const Eo_Event *event)
+_check_event_catcher_del(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Efl_Loop_Data *pd = data;
eina_promise_then(job, _efl_loop_arguments_send, _efl_loop_arguments_cancel, arga);
}
-static void _efl_loop_timeout_force_cancel_cb(void *data, const Eo_Event *event EINA_UNUSED);
-static void _efl_loop_timeout_cb(void *data, const Eo_Event *event EINA_UNUSED);
+static void _efl_loop_timeout_force_cancel_cb(void *data, const Efl_Event *event EINA_UNUSED);
+static void _efl_loop_timeout_cb(void *data, const Efl_Event *event EINA_UNUSED);
EFL_CALLBACKS_ARRAY_DEFINE(timeout,
{ EFL_LOOP_TIMER_EVENT_TICK, _efl_loop_timeout_cb },
static void _efl_loop_internal_cancel(Efl_Internal_Promise *p);
static void
-_efl_loop_timeout_force_cancel_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_loop_timeout_force_cancel_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
_efl_loop_internal_cancel(data);
}
static void
-_efl_loop_timeout_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_loop_timeout_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Efl_Internal_Promise *t = data;
Ecore_Task_Cb func,
const void *data);
void *_ecore_factorized_idle_del(Ecore_Idler *idler);
-void _ecore_factorized_idle_process(void *data, const Eo_Event *event);
-void _ecore_factorized_idle_event_del(void *data, const Eo_Event *event);
+void _ecore_factorized_idle_process(void *data, const Efl_Event *event);
+void _ecore_factorized_idle_event_del(void *data, const Efl_Event *event);
void _ecore_idler_all_call(Eo *loop);
int _ecore_idler_exist(Eo *loop);
}
static void
-_check_timer_event_catcher_add(void *data, const Eo_Event *event)
+_check_timer_event_catcher_add(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Efl_Loop_Timer_Data *timer = data;
}
static void
-_check_timer_event_catcher_del(void *data, const Eo_Event *event)
+_check_timer_event_catcher_del(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Efl_Loop_Timer_Data *timer = data;
};
static void
-_ecore_timer_legacy_del(void *data, const Eo_Event *event EINA_UNUSED)
+_ecore_timer_legacy_del(void *data, const Efl_Event *event EINA_UNUSED)
{
Ecore_Timer_Legacy *legacy = data;
}
static void
-_ecore_timer_legacy_tick(void *data, const Eo_Event *event)
+_ecore_timer_legacy_tick(void *data, const Efl_Event *event)
{
Ecore_Timer_Legacy *legacy = data;
}
static void
-_efl_io_copier_source_can_read_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_io_copier_source_can_read_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo *o = data;
Efl_Io_Copier_Data *pd = efl_data_scope_get(o, MY_CLASS);
}
static void
-_efl_io_copier_source_eos(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_io_copier_source_eos(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo *o = data;
Efl_Io_Copier_Data *pd = efl_data_scope_get(o, MY_CLASS);
}
static void
-_efl_io_copier_source_resized(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_io_copier_source_resized(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo *o = data;
Efl_Io_Copier_Data *pd = efl_data_scope_get(o, MY_CLASS);
}
static void
-_efl_io_copier_source_closed(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_io_copier_source_closed(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo *o = data;
Efl_Io_Copier_Data *pd = efl_data_scope_get(o, MY_CLASS);
}
static void
-_efl_io_copier_destination_can_write_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_io_copier_destination_can_write_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo *o = data;
Efl_Io_Copier_Data *pd = efl_data_scope_get(o, MY_CLASS);
}
static void
-_efl_io_copier_destination_closed(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_io_copier_destination_closed(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo *o = data;
Efl_Io_Copier_Data *pd = efl_data_scope_get(o, MY_CLASS);
#define MY_CLASS EFL_IO_STDERR_CLASS
static void
-_efl_io_stderr_event_write(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_io_stderr_event_write(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_writer_can_write_set(event->object, EINA_TRUE);
}
static void
-_efl_io_stderr_event_error(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_io_stderr_event_error(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_writer_can_write_set(event->object, EINA_FALSE);
}
#define MY_CLASS EFL_IO_STDIN_CLASS
static void
-_efl_io_stdin_event_read(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_io_stdin_event_read(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_reader_can_read_set(event->object, EINA_TRUE);
efl_io_reader_eos_set(event->object, EINA_FALSE);
}
static void
-_efl_io_stdin_event_error(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_io_stdin_event_error(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_reader_can_read_set(event->object, EINA_FALSE);
efl_io_reader_eos_set(event->object, EINA_TRUE);
#define MY_CLASS EFL_IO_STDOUT_CLASS
static void
-_efl_io_stdout_event_write(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_io_stdout_event_write(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_writer_can_write_set(event->object, EINA_TRUE);
}
static void
-_efl_io_stdout_event_error(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_io_stdout_event_error(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_writer_can_write_set(event->object, EINA_FALSE);
}
}
static void
-_check_fd_event_catcher_add(void *data, const Eo_Event *event)
+_check_fd_event_catcher_add(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Efl_Loop_Fd_Data *fd = data;
}
static void
-_check_fd_event_catcher_del(void *data, const Eo_Event *event)
+_check_fd_event_catcher_del(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Efl_Loop_Fd_Data *fd = data;
}
}
-static void _update_samplerate_cb(void *data EINA_UNUSED, const Eo_Event *event)
+static void _update_samplerate_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
pa_stream *stream = NULL;
int samplerate = 0;
return ret;
}
-static void _delayed_attach_cb(void *data, const Eo_Event *event)
+static void _delayed_attach_cb(void *data, const Efl_Event *event)
{
Eo *in = data;
efl_event_callback_del(event->object, ECORE_AUDIO_OUT_PULSE_EVENT_CONTEXT_READY, _delayed_attach_cb, in);
extern Ecore_Con_Socks *_ecore_con_proxy_global;
static void
-_efl_network_url_event_complete_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_network_url_event_complete_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Ecore_Con_Event_Url_Complete *e, *f = event->info;
}
static void
-_efl_network_url_event_data_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_network_url_event_data_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Ecore_Con_Event_Url_Data *e;
Efl_Network_Event_Url_Data *f = event->info;
}
static void
-_efl_network_url_event_progress_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_network_url_event_progress_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Ecore_Con_Event_Url_Progress *e, *f = event->info;
}
static void
-_efl_net_dialer_http_curlm_timer_do(void *data, const Eo_Event *ev EINA_UNUSED)
+_efl_net_dialer_http_curlm_timer_do(void *data, const Efl_Event *ev EINA_UNUSED)
{
Efl_Net_Dialer_Http_Curlm *cm = data;
CURLMcode r;
// it seems the Eo_Loop_Fd isn't working properly when we change connections...
// as it's still built on top of Ecore_Fd_Handler, then use it directly.
static void
-_efl_net_dialer_http_curlm_event_fd_read(void *data, const Eo_Event *event)
+_efl_net_dialer_http_curlm_event_fd_read(void *data, const Efl_Event *event)
{
Efl_Net_Dialer_Http_Curlm *cm = data;
int fd = efl_loop_fd_get(event->object);
}
static void
-_efl_net_dialer_http_curlm_event_fd_write(void *data, const Eo_Event *event)
+_efl_net_dialer_http_curlm_event_fd_write(void *data, const Efl_Event *event)
{
Efl_Net_Dialer_Http_Curlm *cm = data;
int fd = efl_loop_fd_get(event->object);
}
static void
-_efl_net_server_fd_event_read(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_net_server_fd_event_read(void *data EINA_UNUSED, const Efl_Event *event)
{
Eo *o = event->object;
unsigned int count, limit;
}
static void
-_efl_net_server_fd_event_error(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_net_server_fd_event_error(void *data EINA_UNUSED, const Efl_Event *event)
{
Eo *o = event->object;
Eina_Error err = EBADF;
static Efl_Callback_Array_Item *_efl_net_server_tcp_client_cbs(void);
static void
-_efl_net_server_tcp_client_event_closed(void *data, const Eo_Event *event)
+_efl_net_server_tcp_client_event_closed(void *data, const Efl_Event *event)
{
Eo *server = data;
Eo *client = event->object;
} Efl_Net_Socket_Fd_Data;
static void
-_efl_net_socket_fd_event_read(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_net_socket_fd_event_read(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_reader_can_read_set(event->object, EINA_TRUE);
efl_io_reader_eos_set(event->object, EINA_FALSE);
}
static void
-_efl_net_socket_fd_event_write(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_net_socket_fd_event_write(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_writer_can_write_set(event->object, EINA_TRUE);
}
static void
-_efl_net_socket_fd_event_error(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_net_socket_fd_event_error(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_io_writer_can_write_set(event->object, EINA_FALSE);
efl_io_reader_can_read_set(event->object, EINA_FALSE);
}
static void
-_check_animator_event_catcher_add(void *data, const Eo_Event *event)
+_check_animator_event_catcher_add(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Ecore_Evas *ee = data;
}
static void
-_check_animator_event_catcher_del(void *data, const Eo_Event *event)
+_check_animator_event_catcher_del(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Ecore_Evas *ee = data;
};
static void
-_ector_renderer_cairo_shape_path_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_ector_renderer_cairo_shape_path_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Ector_Renderer_Cairo_Shape_Data *pd = data;
};
static void
-_ector_renderer_gl_shape_path_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_ector_renderer_gl_shape_path_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Ector_Renderer_GL_Shape_Data *pd = data;
static void
-_ector_renderer_software_shape_path_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_ector_renderer_software_shape_path_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Ector_Renderer_Software_Shape_Data *pd = data;
#include "interfaces/efl_common_internal.h"
static void
-_edje_hold_signal_cb(void *data, const Eo_Event *event)
+_edje_hold_signal_cb(void *data, const Efl_Event *event)
{
Efl_Input_Hold *ev;
Edje *ed;
}
static void
-_edje_focus_in_signal_cb(void *data, const Eo_Event *event)
+_edje_focus_in_signal_cb(void *data, const Efl_Event *event)
{
Edje *ed;
Edje_Real_Part *rp;
}
static void
-_edje_focus_out_signal_cb(void *data, const Eo_Event *event)
+_edje_focus_out_signal_cb(void *data, const Efl_Event *event)
{
Edje *ed;
Edje_Real_Part *rp;
}
static void
-_edje_mouse_in_signal_cb(void *data, const Eo_Event *event)
+_edje_mouse_in_signal_cb(void *data, const Efl_Event *event)
{
Efl_Input_Pointer_Data *ev;
Edje *ed;
}
static void
-_edje_mouse_out_signal_cb(void *data, const Eo_Event *event)
+_edje_mouse_out_signal_cb(void *data, const Efl_Event *event)
{
Efl_Input_Pointer_Data *ev;
Edje *ed;
}
static void
-_edje_mouse_down_signal_cb(void *data, const Eo_Event *event)
+_edje_mouse_down_signal_cb(void *data, const Efl_Event *event)
{
Efl_Input_Pointer_Data *ev;
Edje *ed;
}
static void
-_edje_mouse_up_signal_cb(void *data, const Eo_Event *event)
+_edje_mouse_up_signal_cb(void *data, const Efl_Event *event)
{
Efl_Input_Pointer_Data *ev;
Edje *ed;
}
static void
-_edje_mouse_move_signal_cb(void *data, const Eo_Event *event)
+_edje_mouse_move_signal_cb(void *data, const Efl_Event *event)
{
Efl_Input_Pointer_Data *ev;
Edje *ed;
}
static void
-_edje_mouse_wheel_signal_cb(void *data, const Eo_Event *event)
+_edje_mouse_wheel_signal_cb(void *data, const Efl_Event *event)
{
Efl_Input_Pointer_Data *ev;
Edje *ed;
}
void
-_edje_timer_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_edje_timer_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
double t;
Eina_List *l;
static Eina_Bool outfail = EINA_FALSE;
static void
-_play_finished(void *data EINA_UNUSED, const Eo_Event *event)
+_play_finished(void *data EINA_UNUSED, const Efl_Event *event)
{
efl_del(event->object);
}
static void
-_out_fail(void *data EINA_UNUSED, const Eo_Event *event)
+_out_fail(void *data EINA_UNUSED, const Efl_Event *event)
{
outfail = EINA_TRUE;
efl_del(event->object);
int _edje_part_dragable_calc(Edje *ed, Edje_Real_Part *ep, FLOAT_T *x, FLOAT_T *y);
void _edje_dragable_pos_set(Edje *ed, Edje_Real_Part *ep, FLOAT_T x, FLOAT_T y);
-void _edje_timer_cb(void *data, const Eo_Event *event);
+void _edje_timer_cb(void *data, const Efl_Event *event);
Eina_Bool _edje_pending_timer_cb(void *data);
void _edje_callbacks_add(Evas_Object *obj, Edje *ed, Edje_Real_Part *rp);
void _edje_callbacks_focus_add(Evas_Object *obj, Edje *ed, Edje_Real_Part *rp);
static Eina_Bool
_edje_animator_cb(void *data)
{
- const Eo_Event event = { NULL, NULL, NULL };
+ const Efl_Event event = { NULL, NULL, NULL };
_edje_timer_cb(data, &event);
return EINA_TRUE;
}
}
static void
-_cb_vpath_del(void *data, const Eo_Event *event)
+_cb_vpath_del(void *data, const Efl_Event *event)
{
efl_vpath_manager_unregister(EFL_VPATH_MANAGER_CLASS, event->object);
efl_event_callback_del(event->object, EFL_EVENT_DEL, _cb_vpath_del, data);
}
static void
-_child_added_cb_proxy(void *data, const Eo_Event *event)
+_child_added_cb_proxy(void *data, const Efl_Event *event)
{
Evas_Object *box = data;
Evas_Object_Box_Option *opt = event->info;
}
static void
-_child_removed_cb_proxy(void *data, const Eo_Event *event)
+_child_removed_cb_proxy(void *data, const Efl_Event *event)
{
Evas_Object *box = data;
Evas_Object *child = event->info;
}
static void
-_recalc(void *data, const Eo_Event *event EINA_UNUSED)
+_recalc(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
typedef struct _Custom_Table_Data Custom_Table_Data;
-static void _subobj_del_cb(void *data, const Eo_Event *event);
+static void _subobj_del_cb(void *data, const Efl_Event *event);
static void _item_remove(Efl_Ui_Grid *obj, Efl_Ui_Grid_Data *pd, Efl_Gfx *subobj);
struct _Custom_Table_Data
}
static void
-_subobj_del_cb(void *data, const Eo_Event *event)
+_subobj_del_cb(void *data, const Efl_Event *event)
{
Efl_Ui_Grid *obj = data;
Efl_Ui_Grid_Data *pd = efl_data_scope_get(obj, EFL_UI_GRID_CLASS);
}
static void
-_sel_cursor_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_sel_cursor_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Efl_Canvas_Text_Cursor *obj = data;
static void _magnifier_move(void *data);
static void _update_decorations(Eo *obj);
static void _create_text_cursors(Efl_Ui_Text_Data *sd);
-static void _efl_ui_text_changed_cb(void *data EINA_UNUSED, const Eo_Event *event);
-static void _efl_ui_text_selection_changed_cb(void *data EINA_UNUSED, const Eo_Event *event);
-static void _efl_ui_text_cursor_changed_cb(void *data EINA_UNUSED, const Eo_Event *event);
+static void _efl_ui_text_changed_cb(void *data EINA_UNUSED, const Efl_Event *event);
+static void _efl_ui_text_selection_changed_cb(void *data EINA_UNUSED, const Efl_Event *event);
+static void _efl_ui_text_cursor_changed_cb(void *data EINA_UNUSED, const Efl_Event *event);
static void _efl_ui_text_move_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
static void _efl_ui_text_select_none(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd);
static void _efl_ui_text_anchor_hover_end(Eo *obj EINA_UNUSED, Efl_Ui_Text_Data *sd);
}
static void
-_hover_dismissed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_hover_dismissed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
EFL_UI_TEXT_DATA_GET(data, sd);
}
static void
-_anchor_hover_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_anchor_hover_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
EFL_UI_TEXT_DATA_GET(data, sd);
_efl_ui_text_anchor_hover_end(data, sd);
}
static void
-_cb_added(void *data EINA_UNUSED, const Eo_Event *ev)
+_cb_added(void *data EINA_UNUSED, const Efl_Event *ev)
{
const Efl_Callback_Array_Item *event = ev->info;
}
static void
-_cb_deleted(void *data EINA_UNUSED, const Eo_Event *ev)
+_cb_deleted(void *data EINA_UNUSED, const Efl_Event *ev)
{
const Efl_Callback_Array_Item *event = ev->info;
}
static void
-_efl_ui_text_changed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_ui_text_changed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
_decoration_defer_all(data);
_entry_changed_handle(data, EFL_UI_TEXT_EVENT_CHANGED);
}
static void
-_efl_ui_text_cursor_changed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_ui_text_cursor_changed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
EFL_UI_TEXT_DATA_GET(data, sd);
sd->cur_changed = EINA_TRUE;
}
static void
-_efl_ui_text_selection_changed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_ui_text_selection_changed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo *obj = data;
Eo *start, *end;
static void
-_on_open_done(void *data, const Eo_Event *event);
+_on_open_done(void *data, const Efl_Event *event);
static void
-_on_playback_started(void *data, const Eo_Event *event);
+_on_playback_started(void *data, const Efl_Event *event);
static void
-_on_playback_finished(void *data, const Eo_Event *event);
+_on_playback_finished(void *data, const Efl_Event *event);
static void
-_on_aspect_ratio_updated(void *data, const Eo_Event *event);
+_on_aspect_ratio_updated(void *data, const Efl_Event *event);
static void
-_on_title_changed(void *data, const Eo_Event *event);
+_on_title_changed(void *data, const Efl_Event *event);
static void
-_on_audio_level_changed(void *data, const Eo_Event *event);
+_on_audio_level_changed(void *data, const Efl_Event *event);
static Eina_Bool _key_action_move(Evas_Object *obj, const char *params);
static Eina_Bool _key_action_play(Evas_Object *obj, const char *params);
}
static void
-_on_open_done(void *data, const Eo_Event *event EINA_UNUSED)
+_on_open_done(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,video,open", "elm");
}
static void
-_on_playback_started(void *data, const Eo_Event *event EINA_UNUSED)
+_on_playback_started(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,video,play", "elm");
}
static void
-_on_playback_finished(void *data, const Eo_Event *event EINA_UNUSED)
+_on_playback_finished(void *data, const Efl_Event *event EINA_UNUSED)
{
EFL_UI_VIDEO_DATA_GET(data, sd);
emotion_object_play_set(sd->emotion, EINA_FALSE);
}
static void
-_on_aspect_ratio_updated(void *data, const Eo_Event *event EINA_UNUSED)
+_on_aspect_ratio_updated(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_sizing_eval(data);
}
static void
-_on_title_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_on_title_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
const char *title;
}
static void
-_on_audio_level_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_on_audio_level_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
(void)data;
}
/* forward events sent to evas to the window */
static void
-_evas_event_key_cb(void *data, const Eo_Event *ev)
+_evas_event_key_cb(void *data, const Efl_Event *ev)
{
Eo *win = data;
Eo *evt = ev->info;
}
static void
-_evas_event_pointer_cb(void *data, const Eo_Event *ev)
+_evas_event_pointer_cb(void *data, const Efl_Event *ev)
{
Eo *win = data;
Eo *evt = ev->info;
/* feed events from the window to evas - for fake inputs */
static void
-_evas_event_key_feed_fake_cb(void *data, const Eo_Event *ev)
+_evas_event_key_feed_fake_cb(void *data, const Efl_Event *ev)
{
Eo *evas = data;
Efl_Input_Event *evt = ev->info;
}
static void
-_evas_event_pointer_feed_fake_cb(void *data, const Eo_Event *ev)
+_evas_event_pointer_feed_fake_cb(void *data, const Efl_Event *ev)
{
Eo *evas = data;
Efl_Input_Event *evt = ev->info;
}
static void
-_win_event_add_cb(void *data, const Eo_Event *ev)
+_win_event_add_cb(void *data, const Efl_Event *ev)
{
const Efl_Callback_Array_Item *array = ev->info;
Efl_Ui_Win_Data *sd = data;
}
static void
-_win_event_del_cb(void *data, const Eo_Event *ev)
+_win_event_del_cb(void *data, const Efl_Event *ev)
{
const Efl_Callback_Array_Item *array = ev->info;
Efl_Ui_Win_Data *sd = data;
}
static void
-_on_atspi_bus_connected(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_on_atspi_bus_connected(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *win;
Eina_List *l;
}
static void
-_on_hover_clicked(void *data, const Eo_Event *event)
+_on_hover_clicked(void *data, const Efl_Event *event)
{
const char *dismissstr;
}
static void
-_gl_filter_finished_cb(void *data, const Eo_Event *event)
+_gl_filter_finished_cb(void *data, const Efl_Event *event)
{
char buf[1024];
ELM_COMBOBOX_DATA_GET(data, sd);
}
static void
-_on_aborted(void *data, const Eo_Event *event EINA_UNUSED)
+_on_aborted(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_COMBOBOX_DATA_GET(data, sd);
if (sd->expanded) elm_combobox_hover_end(data);
}
static void
-_on_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_on_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
efl_event_callback_legacy_call(data, ELM_ENTRY_EVENT_CHANGED, NULL);
}
static void
-_on_clicked(void *data, const Eo_Event *event EINA_UNUSED)
+_on_clicked(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_combobox_hover_begin(data);
}
{NULL, NULL}
};
-static void _ok(void *data, const Eo_Event *event);
-static void _canc(void *data, const Eo_Event *event);
-static void _on_dir_up(void *data, const Eo_Event *event);
+static void _ok(void *data, const Efl_Event *event);
+static void _canc(void *data, const Efl_Event *event);
+static void _on_dir_up(void *data, const Efl_Event *event);
static void _populate(Evas_Object *obj, Efl_Model *model, Elm_Object_Item *parent_it, Efl_Model *selected);
static Elm_Fileselector_Item_Data *_selected_item_data_get(Elm_Fileselector_Data *sd);
-static void _resource_created(void *, const Eo_Event *);
-static void _resource_deleted(void *, const Eo_Event *);
+static void _resource_created(void *, const Efl_Event *);
+static void _resource_deleted(void *, const Efl_Event *);
static void _listing_request_cleanup(Listing_Request *);
EFL_CALLBACKS_ARRAY_DEFINE(monitoring_callbacks,
static Eina_Bool
_key_action_select(Evas_Object *obj, const char *params EINA_UNUSED)
{
- Eo_Event event = {};
+ Efl_Event event = {};
_ok(obj, &event);
return EINA_TRUE;
}
static Eina_Bool
_key_action_escape(Evas_Object *obj, const char *params EINA_UNUSED)
{
- Eo_Event event = {};
+ Efl_Event event = {};
_canc(obj, &event);
return EINA_TRUE;
}
}
static void
-_on_list_expanded(void *data, const Eo_Event *event)
+_on_list_expanded(void *data, const Efl_Event *event)
{
Elm_Object_Item *it = event->info;
const Elm_Fileselector_Item_Data *it_data = elm_object_item_data_get(it);
}
static void
-_on_list_contracted(void *data EINA_UNUSED, const Eo_Event *event)
+_on_list_contracted(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Object_Item *it = event->info;
}
static void
-_on_list_expand_req(void *data EINA_UNUSED, const Eo_Event *event)
+_on_list_expand_req(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Object_Item *it = event->info;
}
static void
-_on_list_contract_req(void *data EINA_UNUSED, const Eo_Event *event)
+_on_list_contract_req(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Object_Item *it = event->info;
}
static void
-_on_item_activated(void *data, const Eo_Event *event)
+_on_item_activated(void *data, const Efl_Event *event)
{
//This event_info could be a list or gengrid item
Elm_Object_Item *it = event->info;
}
static void
-_on_item_selected(void *data, const Eo_Event *event)
+_on_item_selected(void *data, const Efl_Event *event)
{
//This event_info could be a list or gengrid item
Elm_Object_Item *it = event->info;
}
static void
-_on_item_unselected(void *data, const Eo_Event *event)
+_on_item_unselected(void *data, const Efl_Event *event)
{
Eina_List *li, *l;
const Elm_Fileselector_Item_Data *it_data;
}
static void
-_on_dir_up(void *data, const Eo_Event *event EINA_UNUSED)
+_on_dir_up(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *fs = data;
Efl_Model *parent = NULL;
}
static void
-_home(void *data, const Eo_Event *event EINA_UNUSED)
+_home(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *fs = data;
ELM_FILESELECTOR_DATA_GET(fs, sd);
}
static void
-_ok(void *data, const Eo_Event *event EINA_UNUSED)
+_ok(void *data, const Efl_Event *event EINA_UNUSED)
{
const char *name;
const char *selection = NULL;
}
static void
-_canc(void *data, const Eo_Event *event EINA_UNUSED)
+_canc(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *fs = data;
}
static void
-_on_text_activated(void *data, const Eo_Event *event)
+_on_text_activated(void *data, const Efl_Event *event)
{
Evas_Object *fs = data;
const char *path;
}
static void
-_on_text_focused(void *data, const Eo_Event *event EINA_UNUSED)
+_on_text_focused(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_FILESELECTOR_DATA_GET(data, sd);
}
static void
-_on_text_unfocused(void *data, const Eo_Event *event EINA_UNUSED)
+_on_text_unfocused(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_FILESELECTOR_DATA_GET(data, sd);
_anchors_do(data, sd->path);
}
static void
-_anchor_clicked(void *data, const Eo_Event *event)
+_anchor_clicked(void *data, const Efl_Event *event)
{
Elm_Entry_Anchor_Info *info = event->info;
Evas_Object *fs = data;
}
static void
-_files_key_down(void *data, const Eo_Event *event)
+_files_key_down(void *data, const Efl_Event *event)
{
Efl_Input_Key *ev = event->info;
Evas_Object *par, *searchbar;
}
static void
-_resource_created(void *data, const Eo_Event *event)
+_resource_created(void *data, const Efl_Event *event)
{
Elm_Fileselector *fs = data;
Efl_Model_Children_Event* evt = event->info;
}
static void
-_resource_deleted(void *data, const Eo_Event *event)
+_resource_deleted(void *data, const Efl_Event *event)
{
Evas_Object *obj = data;
Efl_Model_Children_Event* evt = event->info;
}
static void
-_preedit_cb(void *data, const Eo_Event *event)
+_preedit_cb(void *data, const Efl_Event *event)
{
ELM_FILESELECTOR_DATA_GET(data, sd);
}
static void
-_selection_done(void *data, const Eo_Event *event)
+_selection_done(void *data, const Efl_Event *event)
{
Elm_Fileselector_Button_Data *sd = data;
Efl_Model *model = event->info;
}
static void
-_button_clicked(void *data, const Eo_Event *event EINA_UNUSED)
+_button_clicked(void *data, const Efl_Event *event EINA_UNUSED)
{
_activate(data);
}
#define SIG_FWD(name, event) \
static void \
- _##name##_fwd(void *data, const Eo_Event *ev EINA_UNUSED) \
+ _##name##_fwd(void *data, const Efl_Event *ev EINA_UNUSED) \
{ \
efl_event_callback_legacy_call(data, event, ev->info); \
}
}
static void
-_FILE_CHOSEN_fwd(void *data, const Eo_Event *event)
+_FILE_CHOSEN_fwd(void *data, const Efl_Event *event)
{
Efl_Model *model = event->info;
Eina_Promise *promise = NULL;
}
static void
-_ACTIVATED_fwd(void *data, const Eo_Event *event)
+_ACTIVATED_fwd(void *data, const Efl_Event *event)
{
const char *file;
Efl_Model *bmodel, *model;
}
static void
-_on_hover_clicked(void *data, const Eo_Event *event)
+_on_hover_clicked(void *data, const Efl_Event *event)
{
const char *dismissstr;
}
static void
-_on_item_clicked(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_on_item_clicked(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
Elm_Hoversel_Item_Data *item = data;
Evas_Object *obj2 = WIDGET(item);
}
static void
-_item_focused_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_item_focused_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
Elm_Hoversel_Item_Data *it = data;
}
static void
-_item_unfocused_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_item_unfocused_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
Elm_Hoversel_Item_Data *it = data;
}
static void
-_on_clicked(void *data, const Eo_Event *event EINA_UNUSED)
+_on_clicked(void *data, const Efl_Event *event EINA_UNUSED)
{
_activate(data);
}
static void
-_on_parent_del(void *data, const Eo_Event *ev EINA_UNUSED)
+_on_parent_del(void *data, const Efl_Event *ev EINA_UNUSED)
{
elm_hoversel_hover_parent_set(data, NULL);
}
}
static void
-_on_parent_resize(void *data, const Eo_Event *ev EINA_UNUSED)
+_on_parent_resize(void *data, const Efl_Event *ev EINA_UNUSED)
{
Evas_Object *obj = (Evas_Object *)data;
ELM_HOVERSEL_DATA_GET(obj, sd);
{NULL, NULL}
};
-static void _entry_changed_cb(void *data, const Eo_Event *event);
-static void _entry_focus_in_cb(void *data, const Eo_Event *event);
-static void _entry_focus_out_cb(void *data, const Eo_Event *event);
-static void _entry_clicked_cb(void *data, const Eo_Event *event);
+static void _entry_changed_cb(void *data, const Efl_Event *event);
+static void _entry_focus_in_cb(void *data, const Efl_Event *event);
+static void _entry_focus_out_cb(void *data, const Efl_Event *event);
+static void _entry_clicked_cb(void *data, const Efl_Event *event);
EFL_CALLBACKS_ARRAY_DEFINE(_multi_buttonentry_cb,
{ ELM_ENTRY_EVENT_CHANGED, _entry_changed_cb },
}
static void
-_entry_changed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_entry_changed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
const char *str;
}
static void
-_entry_focus_in_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_entry_focus_in_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Multibuttonentry_Item_Data *item = NULL;
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
}
static void
-_entry_focus_out_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_entry_focus_out_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
const char *str;
}
static void
-_entry_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_entry_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_MULTIBUTTONENTRY_DATA_GET_OR_RETURN(data, sd);
{NULL, NULL}
};
-static void _on_item_back_btn_clicked(void *data, const Eo_Event *event);
+static void _on_item_back_btn_clicked(void *data, const Efl_Event *event);
static Eina_Bool _key_action_top_item_get(Evas_Object *obj, const char *params);
}
static void
-_on_item_back_btn_clicked(void *data, const Eo_Event *event)
+_on_item_back_btn_clicked(void *data, const Efl_Event *event)
{
/* Since edje has the event queue, clicked event could be happened
multiple times on some heavy environment. This callback del will
}
static void
-_deferred(void *data, const Eo_Event *event EINA_UNUSED)
+_deferred(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Naviframe_Data *nfd = data;
Elm_Naviframe_Op *nfo;
{ NULL, NULL }
};
-static void _update_frame(void *data, const Eo_Event *event);
-static void _update_slider(void *data, const Eo_Event *event);
-static void _play_started(void *data, const Eo_Event *event);
-static void _play_finished(void *data, const Eo_Event *event);
-static void _update_position(void *data, const Eo_Event *event);
-static void _drag_start(void *data, const Eo_Event *event);
-static void _drag_stop(void *data, const Eo_Event *event);
+static void _update_frame(void *data, const Efl_Event *event);
+static void _update_slider(void *data, const Efl_Event *event);
+static void _play_started(void *data, const Efl_Event *event);
+static void _play_finished(void *data, const Efl_Event *event);
+static void _update_position(void *data, const Efl_Event *event);
+static void _drag_start(void *data, const Efl_Event *event);
+static void _drag_stop(void *data, const Efl_Event *event);
static Eina_Bool _key_action_move(Evas_Object *obj, const char *params);
static Eina_Bool _key_action_play(Evas_Object *obj, const char *params);
}
static void
-_update_slider(void *data, const Eo_Event *event EINA_UNUSED)
+_update_slider(void *data, const Efl_Event *event EINA_UNUSED)
{
double pos, length;
Eina_Bool seekable;
}
static void
-_update_frame(void *data, const Eo_Event *event)
+_update_frame(void *data, const Efl_Event *event)
{
ELM_PLAYER_DATA_GET(data, sd);
if (!sd) return;
}
static void
-_update_position(void *data, const Eo_Event *event EINA_UNUSED)
+_update_position(void *data, const Efl_Event *event EINA_UNUSED)
{
double pos;
ELM_PLAYER_DATA_GET(data, sd);
}
static void
-_drag_start(void *data, const Eo_Event *event EINA_UNUSED)
+_drag_start(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
sd->dragging = EINA_TRUE;
}
static void
-_drag_stop(void *data, const Eo_Event *event EINA_UNUSED)
+_drag_stop(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
sd->dragging = EINA_FALSE;
}
static void
-_update_volume(void *data, const Eo_Event *event EINA_UNUSED)
+_update_volume(void *data, const Efl_Event *event EINA_UNUSED)
{
double vol;
ELM_PLAYER_DATA_GET(data, sd);
}
static void
-_forward(void *data, const Eo_Event *event EINA_UNUSED)
+_forward(void *data, const Efl_Event *event EINA_UNUSED)
{
double pos, length;
ELM_PLAYER_DATA_GET(data, sd);
}
static void
-_info(void *data, const Eo_Event *event EINA_UNUSED)
+_info(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,info", "elm");
efl_event_callback_legacy_call(data, ELM_PLAYER_EVENT_INFO_CLICKED, NULL);
}
static void
-_next(void *data, const Eo_Event *event EINA_UNUSED)
+_next(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,next", "elm");
efl_event_callback_legacy_call(data, ELM_PLAYER_EVENT_NEXT_CLICKED, NULL);
}
static void
-_pause(void *data, const Eo_Event *event EINA_UNUSED)
+_pause(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
}
static void
-_play(void *data, const Eo_Event *event EINA_UNUSED)
+_play(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
}
static void
-_prev(void *data, const Eo_Event *event EINA_UNUSED)
+_prev(void *data, const Efl_Event *event EINA_UNUSED)
{
efl_event_callback_legacy_call(data, ELM_PLAYER_EVENT_PREV_CLICKED, NULL);
elm_layout_signal_emit(data, "elm,button,prev", "elm");
}
static void
-_rewind(void *data, const Eo_Event *event EINA_UNUSED)
+_rewind(void *data, const Efl_Event *event EINA_UNUSED)
{
double pos;
ELM_PLAYER_DATA_GET(data, sd);
}
static void
-_stop(void *data, const Eo_Event *event EINA_UNUSED)
+_stop(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,stop", "elm");
efl_event_callback_legacy_call(data, ELM_PLAYER_EVENT_QUALITY_CLICKED, NULL);
}
static void
-_eject(void *data, const Eo_Event *event EINA_UNUSED)
+_eject(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_PLAYER_DATA_GET(data, sd);
}
static void
-_volume(void *data, const Eo_Event *event EINA_UNUSED)
+_volume(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,volume", "elm");
_mute_toggle(data);
}
static void
-_mute(void *data, const Eo_Event *event EINA_UNUSED)
+_mute(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,button,mute", "elm");
_mute_toggle(data);
}
static void
-_play_started(void *data, const Eo_Event *event EINA_UNUSED)
+_play_started(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,player,play", "elm");
}
static void
-_play_finished(void *data, const Eo_Event *event EINA_UNUSED)
+_play_finished(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_layout_signal_emit(data, "elm,player,pause", "elm");
}
static Eina_Bool _key_action_move(Evas_Object *obj, const char *params);
static Eina_Bool _key_action_escape(Evas_Object *obj, const char *params);
static void _parent_geom_cb(void *data, Evas *e EINA_UNUSED, Evas_Object *obj, void *event_info EINA_UNUSED);
-static void _block_clicked_cb(void *data, const Eo_Event *event);
-static void _timeout_cb(void *data, const Eo_Event *event);
+static void _block_clicked_cb(void *data, const Efl_Event *event);
+static void _timeout_cb(void *data, const Efl_Event *event);
-static void _hide_effect_finished_cb(void *data, const Eo_Event *event);
+static void _hide_effect_finished_cb(void *data, const Efl_Event *event);
static const Elm_Action key_actions[] = {
{"move", _key_action_move},
}
static void
-_block_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_block_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
efl_event_callback_legacy_call(data, ELM_POPUP_EVENT_BLOCK_CLICKED, NULL);
}
static void
-_timeout_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_timeout_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
evas_object_hide(data);
efl_event_callback_legacy_call(data, ELM_POPUP_EVENT_TIMEOUT, NULL);
}
static void
-_hide_effect_finished_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_hide_effect_finished_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
efl_event_callback_legacy_call(data, ELM_POPUP_EVENT_DISMISSED, NULL);
}
}
static void
-_item_focused_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_item_focused_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Popup_Item_Data *it = data;
}
static void
-_item_unfocused_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_item_unfocused_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Popup_Item_Data *it = data;
} Elm_App_Server_Data;
static void
-_view_del_cb(void *data, const Eo_Event *event)
+_view_del_cb(void *data, const Efl_Event *event)
{
Elm_App_Server_Data *cdata = data;
eina_hash_del(cdata->views, NULL, event->object);
static int _init_count = 0;
// Object Event handlers
-static void _state_changed_signal_send(void *data, const Eo_Event *event);
-static void _bounds_changed_signal_send(void *data, const Eo_Event *event);
-static void _property_changed_signal_send(void *data, const Eo_Event *event);
-static void _children_changed_signal_send(void *data, const Eo_Event *event);
-static void _window_signal_send(void *data, const Eo_Event *event);
-static void _visible_data_changed_signal_send(void *data, const Eo_Event *event);
-static void _active_descendant_changed_signal_send(void *data, const Eo_Event *event);
-static void _selection_signal_send(void *data, const Eo_Event *event);
-static void _text_text_inserted_send(void *data, const Eo_Event *event);
-static void _text_text_removed_send(void *data, const Eo_Event *event);
-static void _text_caret_moved_send(void *data, const Eo_Event *event);
-static void _text_selection_changed_send(void *data, const Eo_Event *event);
+static void _state_changed_signal_send(void *data, const Efl_Event *event);
+static void _bounds_changed_signal_send(void *data, const Efl_Event *event);
+static void _property_changed_signal_send(void *data, const Efl_Event *event);
+static void _children_changed_signal_send(void *data, const Efl_Event *event);
+static void _window_signal_send(void *data, const Efl_Event *event);
+static void _visible_data_changed_signal_send(void *data, const Efl_Event *event);
+static void _active_descendant_changed_signal_send(void *data, const Efl_Event *event);
+static void _selection_signal_send(void *data, const Efl_Event *event);
+static void _text_text_inserted_send(void *data, const Efl_Event *event);
+static void _text_text_removed_send(void *data, const Efl_Event *event);
+static void _text_caret_moved_send(void *data, const Efl_Event *event);
+static void _text_selection_changed_send(void *data, const Efl_Event *event);
// bridge private methods
static void _bridge_object_register(Eo *bridge, Eo *obj);
static void _iter_interfaces_append(Eldbus_Message_Iter *iter, const Eo *obj);
static Eina_Bool _elm_atspi_bridge_key_filter(void *data, void *loop, int type, void *event);
static void _object_desktop_reference_append(Eldbus_Message_Iter *iter);
-static void _on_object_add(void *data, const Eo_Event *event);
-static void _on_object_del(void *data, const Eo_Event *event);
+static void _on_object_add(void *data, const Efl_Event *event);
+static void _on_object_del(void *data, const Efl_Event *event);
typedef struct {
const Efl_Event_Description *desc;
}
static void
-_state_changed_signal_send(void *data, const Eo_Event *event)
+_state_changed_signal_send(void *data, const Efl_Event *event)
{
Elm_Atspi_Event_State_Changed_Data *state_data = event->info;
const char *type_desc;
}
static void
-_bounds_changed_signal_send(void *data, const Eo_Event *event)
+_bounds_changed_signal_send(void *data, const Efl_Event *event)
{
Elm_Atspi_Event_Geometry_Changed_Data *geo_data = event->info;
}
static void
-_property_changed_signal_send(void *data, const Eo_Event *event)
+_property_changed_signal_send(void *data, const Efl_Event *event)
{
const char *property = event->info;
char *atspi_desc;
}
static void
-_visible_data_changed_signal_send(void *data, const Eo_Event *event)
+_visible_data_changed_signal_send(void *data, const Efl_Event *event)
{
ELM_ATSPI_BRIDGE_DATA_GET_OR_RETURN(data, pd);
}
static void
-_active_descendant_changed_signal_send(void *data, const Eo_Event *event)
+_active_descendant_changed_signal_send(void *data, const Efl_Event *event)
{
Eo *child = event->info;
int idx;
}
static void
-_children_changed_signal_send(void *data, const Eo_Event *event)
+_children_changed_signal_send(void *data, const Efl_Event *event)
{
const char *atspi_desc = NULL;
Elm_Atspi_Event_Children_Changed_Data *ev_data = event->info;
}
static void
-_window_signal_send(void *data, const Eo_Event *event)
+_window_signal_send(void *data, const Efl_Event *event)
{
enum _Atspi_Window_Signals type;
}
static void
-_selection_signal_send(void *data, const Eo_Event *event)
+_selection_signal_send(void *data, const Efl_Event *event)
{
ELM_ATSPI_BRIDGE_DATA_GET_OR_RETURN(data, pd);
}
static void
-_text_caret_moved_send(void *data, const Eo_Event *event)
+_text_caret_moved_send(void *data, const Efl_Event *event)
{
int cursor_pos = 0;
}
static void
-_text_text_inserted_send(void *data, const Eo_Event *event)
+_text_text_inserted_send(void *data, const Efl_Event *event)
{
Elm_Atspi_Text_Change_Info *info = event->info;
}
static void
-_text_text_removed_send(void *data, const Eo_Event *event)
+_text_text_removed_send(void *data, const Efl_Event *event)
{
Elm_Atspi_Text_Change_Info *info = event->info;
}
static void
-_text_selection_changed_send(void *data, const Eo_Event *event)
+_text_selection_changed_send(void *data, const Efl_Event *event)
{
ELM_ATSPI_BRIDGE_DATA_GET_OR_RETURN(data, pd);
}
static void
-_on_object_add(void *data, const Eo_Event *event)
+_on_object_add(void *data, const Efl_Event *event)
{
Eldbus_Message *sig;
Eldbus_Message_Iter *iter;
}
static void
-_on_object_del(void *data, const Eo_Event *event)
+_on_object_del(void *data, const Efl_Event *event)
{
Eldbus_Message *sig;
}
static void
-_bridge_accessible_event_dispatch(void *data, const Eo_Event *event)
+_bridge_accessible_event_dispatch(void *data, const Efl_Event *event)
{
ELM_ATSPI_BRIDGE_DATA_GET_OR_RETURN(data, pd);
}
static void
-_child_added_cb_proxy(void *data, const Eo_Event *event)
+_child_added_cb_proxy(void *data, const Efl_Event *event)
{
Evas_Object *box = data;
Evas_Object_Box_Option *opt = event->info;
}
static void
-_child_removed_cb_proxy(void *data, const Eo_Event *event)
+_child_removed_cb_proxy(void *data, const Efl_Event *event)
{
Evas_Object *box = data;
Evas_Object *child = event->info;
}
static void
-_transition_layout_child_added(void *data, const Eo_Event *event)
+_transition_layout_child_added(void *data, const Efl_Event *event)
{
Transition_Animation_Data *tad;
Evas_Object_Box_Option *opt = event->info;
}
static void
-_transition_layout_child_removed(void *data, const Eo_Event *event)
+_transition_layout_child_removed(void *data, const Efl_Event *event)
{
Eina_List *l;
Transition_Animation_Data *tad;
}
static void
-_x11_win_rotation_changed_cb(void *data, const Eo_Event *event)
+_x11_win_rotation_changed_cb(void *data, const Efl_Event *event)
{
Evas_Object *win = data;
int rot = elm_win_rotation_get(event->object);
}
static void
-_elm_code_widget_line_cb(void *data, const Eo_Event *event)
+_elm_code_widget_line_cb(void *data, const Efl_Event *event)
{
Elm_Code_Line *line;
Elm_Code_Widget *widget;
}
static void
-_elm_code_widget_file_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_code_widget_file_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Code_Widget *widget;
}
static void
-_elm_code_widget_selection_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_code_widget_selection_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Code_Widget *widget;
}
static void
-_elm_code_widget_selection_clear_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_code_widget_selection_clear_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Code_Widget *widget;
}
static void
-_colorclass_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_colorclass_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Colorclass_UI *cc = data;
}
static void
-_colorclass_reset(void *data, const Eo_Event *event EINA_UNUSED)
+_colorclass_reset(void *data, const Efl_Event *event EINA_UNUSED)
{
Colorclass_UI *cc = data;
Colorclass color;
}
static void
-_colorclass_activate(void *data, const Eo_Event *event)
+_colorclass_activate(void *data, const Efl_Event *event)
{
Colorclass_UI *cc = data;
Elm_Object_Item *it = event->info;
}
static void
-_spinner_changed_cb(void *data, const Eo_Event *event)
+_spinner_changed_cb(void *data, const Efl_Event *event)
{
Elm_Colorselector_Data *sd = data;
Evas_Object *parent;
}
static void
-_start_grab_pick_cb(void *data, const Eo_Event *event)
+_start_grab_pick_cb(void *data, const Efl_Event *event)
{
Evas_Object *o = data;
}
static void
-_button_clicked_cb(void *data, const Eo_Event *event)
+_button_clicked_cb(void *data, const Efl_Event *event)
{
Color_Bar_Data *cb_data = data;
double x, y, step;
}
static void
-_button_repeat_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_button_repeat_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Color_Bar_Data *cb_data = data;
double x, y, step;
}
else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS)
{
- Eo_Event event = {};
+ Efl_Event event = {};
event.object = sd->cb_data[sd->sel_color_type]->lbt;
_button_clicked_cb(sd->cb_data[sd->sel_color_type], &event);
}
}
else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS)
{
- Eo_Event event = {};
+ Efl_Event event = {};
event.object = sd->cb_data[sd->sel_color_type]->rbt;
_button_clicked_cb(sd->cb_data[sd->sel_color_type], &event);
}
}
static void
-_land_indicator_disconnected(void *data, const Eo_Event *event EINA_UNUSED)
+_land_indicator_disconnected(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *conform = data;
}
static void
-_port_indicator_disconnected(void *data, const Eo_Event *event EINA_UNUSED)
+_port_indicator_disconnected(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *conform = data;
}
static void
-_on_indicator_mode_changed(void *data, const Eo_Event *event)
+_on_indicator_mode_changed(void *data, const Efl_Event *event)
{
Evas_Object *conformant = data;
Evas_Object *win = event->object;
}
static void
-_on_rotation_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_on_rotation_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
int rot = 0;
Evas_Object *win = event->object;
evas_object_smart_callbacks_descriptions_set(obj, _smart_callbacks);
elm_interface_atspi_accessible_role_set(obj, ELM_ATSPI_ROLE_FILLER);
- Eo_Event event = {};
+ Efl_Event event = {};
event.object = sd->win;
sd->win = elm_widget_top_get(obj);
_on_indicator_mode_changed(obj, &event);
}
static void
-_item_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_item_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Dayselector_Item_Data *it = data;
}
static void
-_hover_dismissed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_hover_dismissed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_ENTRY_DATA_GET(data, sd);
}
static void
-_anchor_hover_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_anchor_hover_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
elm_entry_anchor_hover_end(data);
}
}
static void
-_cb_added(void *data EINA_UNUSED, const Eo_Event *ev)
+_cb_added(void *data EINA_UNUSED, const Efl_Event *ev)
{
const Efl_Callback_Array_Item *event = ev->info;
}
static void
-_cb_deleted(void *data EINA_UNUSED, const Eo_Event *ev)
+_cb_deleted(void *data EINA_UNUSED, const Efl_Event *ev)
{
const Efl_Callback_Array_Item *event = ev->info;
}
static void
-_tree_effect_animator_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_tree_effect_animator_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
int in = 0;
const Eina_List *l;
}
static void
-_render_cb(void *obj, const Eo_Event *event EINA_UNUSED)
+_render_cb(void *obj, const Efl_Event *event EINA_UNUSED)
{
ELM_GLVIEW_DATA_GET(obj, sd);
ELM_WIDGET_DATA_GET_OR_RETURN(obj, wd, );
}
static void
-_cb_added(void *data EINA_UNUSED, const Eo_Event *ev)
+_cb_added(void *data EINA_UNUSED, const Efl_Event *ev)
{
const Efl_Callback_Array_Item *event = ev->info;
}
EAPI void
-elm_validator_regexp_helper(void *data, const Eo_Event *event)
+elm_validator_regexp_helper(void *data, const Efl_Event *event)
{
Elm_Validate_Content *vc = event->info;
Elm_Validator_Regexp *validator = (Elm_Validator_Regexp *)data;
* @since 1.14
*/
EAPI void
-elm_validator_regexp_helper(void *data, const Eo_Event *event);
+elm_validator_regexp_helper(void *data, const Efl_Event *event);
#endif
/**
return;
}
- Eo_Event ev;
+ Efl_Event ev;
ev.object = accessible;
ev.desc = event;
ev.info = event_info;
}
static void
-_on_rel_obj_del(void *data, const Eo_Event *event)
+_on_rel_obj_del(void *data, const Efl_Event *event)
{
Elm_Atspi_Relation_Set *set = data;
Elm_Atspi_Relation *rel;
#include "elm_priv.h"
static void
-_free_desc_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_free_desc_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
eina_stringshare_del(data);
}
Evas_Coord x,
Evas_Coord y);
-static void _elm_scroll_hold_animator(void *data, const Eo_Event *event);
-static void _elm_scroll_on_hold_animator(void *data, const Eo_Event *event);
-static void _elm_scroll_scroll_to_y_animator(void *data, const Eo_Event *event);
-static void _elm_scroll_scroll_to_x_animator(void *data, const Eo_Event *event);
-static void _elm_scroll_bounce_y_animator(void *data, const Eo_Event *event);
-static void _elm_scroll_bounce_x_animator(void *data, const Eo_Event *event);
-static void _elm_scroll_momentum_animator(void *data, const Eo_Event *event);
+static void _elm_scroll_hold_animator(void *data, const Efl_Event *event);
+static void _elm_scroll_on_hold_animator(void *data, const Efl_Event *event);
+static void _elm_scroll_scroll_to_y_animator(void *data, const Efl_Event *event);
+static void _elm_scroll_scroll_to_x_animator(void *data, const Efl_Event *event);
+static void _elm_scroll_bounce_y_animator(void *data, const Efl_Event *event);
+static void _elm_scroll_bounce_x_animator(void *data, const Efl_Event *event);
+static void _elm_scroll_momentum_animator(void *data, const Efl_Event *event);
static double
_round(double value, int pos)
}
static void
-_elm_scroll_bounce_x_animator(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_scroll_bounce_x_animator(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_SCROLL_IFACE_DATA_GET_OR_RETURN(data, sid);
Evas_Coord x, y, dx, w, odx, ed, md;
}
static void
-_elm_scroll_bounce_y_animator(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_scroll_bounce_y_animator(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_SCROLL_IFACE_DATA_GET_OR_RETURN(data, sid);
Evas_Coord x, y, dy, h, ody, ed, md;
}
static void
-_elm_scroll_momentum_animator(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_scroll_momentum_animator(void *data, const Efl_Event *event EINA_UNUSED)
{
double t, at, dt, p, r;
Elm_Scrollable_Smart_Interface_Data *sid = data;
}
static void
-_elm_scroll_scroll_to_x_animator(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_scroll_scroll_to_x_animator(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
Evas_Coord px, py;
}
static void
-_elm_scroll_scroll_to_y_animator(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_scroll_scroll_to_y_animator(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
Evas_Coord px, py;
}
static void
-_elm_scroll_hold_animator(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_scroll_hold_animator(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Scrollable_Smart_Interface_Data *sid = data;
}
static void
-_elm_scroll_on_hold_animator(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_scroll_on_hold_animator(void *data, const Efl_Event *event EINA_UNUSED)
{
double t, td;
double vx, vy;
/* even external pan objects get this */
static void
-_elm_scroll_pan_changed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_scroll_pan_changed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Coord w = 0, h = 0;
Elm_Scrollable_Smart_Interface_Data *sid = data;
static int (*qr_main)(int argc,
char **argv) = NULL;
static void (*qre_main)(void *data,
- const Eo_Event *ev) = NULL;
+ const Efl_Event *ev) = NULL;
EAPI Eina_Bool
elm_quicklaunch_prepare(int argc,
}
static void
-_zoom_anim_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_zoom_anim_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_MAP_DATA_GET(data, sd);
}
static void
-_zoom_bring_anim_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_zoom_bring_anim_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_MAP_DATA_GET(data, sd);
}
static void
-_hover_dismissed_cb(void *data, const Eo_Event *event)
+_hover_dismissed_cb(void *data, const Efl_Event *event)
{
_menu_hide(data, event->object, event->info);
efl_event_callback_legacy_call
}
static void
-_block_menu(void *_sd, const Eo_Event *event EINA_UNUSED)
+_block_menu(void *_sd, const Efl_Event *event EINA_UNUSED)
{
const Eina_List *l;
Elm_Object_Item *eo_current;
}
static void
-_unblock_menu(void *_sd, const Eo_Event *event EINA_UNUSED)
+_unblock_menu(void *_sd, const Efl_Event *event EINA_UNUSED)
{
const Eina_List *l;
Elm_Object_Item *eo_current;
// FIXME: This is definitively not an animator, but a pre calc function
// Not sure if I can hook on smart calc or on RENDER_PRE, will be left for later
static void
-_elm_panel_anim_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_elm_panel_anim_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *obj = data;
ELM_PANEL_DATA_GET(obj, sd);
}
static void
-_on_thumb_done(void *data, const Eo_Event *event EINA_UNUSED)
+_on_thumb_done(void *data, const Efl_Event *event EINA_UNUSED)
{
_elm_photo_internal_image_follow(data);
}
}
static void
-_zoom_anim_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_zoom_anim_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
double t;
Evas_Object *obj = data;
}
static void
-_bounce_eval(void *data, const Eo_Event *event EINA_UNUSED)
+_bounce_eval(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *obj = data;
ELM_PHOTOCAM_DATA_GET(obj, sd);
if (an)
{
// FIXME: If one day we do support partial animator in photocam, this would require change
- Eo_Event event = {};
+ Efl_Event event = {};
event.object = evas_object_evas_get(obj);
_zoom_anim_cb(obj, &event);
// FIXME: Unhandled.
static Eina_Bool _key_action_toggle(Evas_Object *obj, const char *params);
static void
-_inc_dec_button_clicked_cb(void *data, const Eo_Event *event);
+_inc_dec_button_clicked_cb(void *data, const Efl_Event *event);
static void
-_inc_dec_button_pressed_cb(void *data, const Eo_Event *event);
+_inc_dec_button_pressed_cb(void *data, const Efl_Event *event);
static void
-_inc_dec_button_unpressed_cb(void *data, const Eo_Event *event);
+_inc_dec_button_unpressed_cb(void *data, const Efl_Event *event);
static void
-_inc_dec_button_mouse_move_cb(void *data, const Eo_Event *event);
+_inc_dec_button_mouse_move_cb(void *data, const Efl_Event *event);
static const Elm_Action key_actions[] = {
{"spin", _key_action_spin},
}
static void
-_entry_activated_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_entry_activated_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
_entry_value_apply(data);
}
}
static void
-_inc_dec_button_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_inc_dec_button_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_SPINNER_DATA_GET(data, sd);
}
static void
-_inc_dec_button_pressed_cb(void *data, const Eo_Event *event)
+_inc_dec_button_pressed_cb(void *data, const Efl_Event *event)
{
ELM_SPINNER_DATA_GET(data, sd);
}
static void
-_inc_dec_button_unpressed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_inc_dec_button_unpressed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
ELM_SPINNER_DATA_GET(data, sd);
}
static void
-_text_button_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_text_button_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
_toggle_entry(data);
}
static void
-_inc_dec_button_mouse_move_cb(void *data, const Eo_Event *event)
+_inc_dec_button_mouse_move_cb(void *data, const Efl_Event *event)
{
Efl_Input_Pointer *ev = event->info;
ELM_SPINNER_DATA_GET(data, sd);
}
static void
-_store_genlist_item_realized(void *data, const Eo_Event *event)
+_store_genlist_item_realized(void *data, const Efl_Event *event)
{
Elm_Store *st = data;
Elm_Object_Item *gli = event->info;
}
static void
-_store_genlist_item_unrealized(void *data, const Eo_Event *event)
+_store_genlist_item_unrealized(void *data, const Efl_Event *event)
{
Elm_Store *st = data;
Elm_Object_Item *gli = event->info;
}
static void
-_efl_model_properties_change_cb(void *data, const Eo_Event *event)
+_efl_model_properties_change_cb(void *data, const Efl_Event *event)
{
const Efl_Model_Property_Event *evt = event->info;
Eina_Promise *promise;
};
static void _efl_model_load_children(View_List_ItemData *);
-static void _efl_model_children_count_change_cb(void *, const Eo_Event *event);
-static void _efl_model_properties_change_cb(void *, const Eo_Event *event);
+static void _efl_model_children_count_change_cb(void *, const Efl_Event *event);
+static void _efl_model_properties_change_cb(void *, const Efl_Event *event);
-static void _expand_request_cb(void *data EINA_UNUSED, const Eo_Event *event);
-static void _contract_request_cb(void *data EINA_UNUSED, const Eo_Event *event);
-static void _contracted_cb(void *data EINA_UNUSED, const Eo_Event *event);
+static void _expand_request_cb(void *data EINA_UNUSED, const Efl_Event *event);
+static void _contract_request_cb(void *data EINA_UNUSED, const Efl_Event *event);
+static void _contracted_cb(void *data EINA_UNUSED, const Efl_Event *event);
/* --- Genlist Callbacks --- */
EFL_CALLBACKS_ARRAY_DEFINE(model_callbacks,
}
static void
-_expand_request_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_expand_request_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Object_Item *item = event->info;
View_List_ItemData *idata = elm_object_item_data_get(item);
}
static void
-_contract_request_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_contract_request_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Object_Item *item = event->info;
View_List_ItemData *idata = elm_object_item_data_get(item);
}
static void
-_contracted_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_contracted_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Object_Item *glit = event->info;
elm_genlist_item_subitems_clear(glit);
/* --- Efl_Model Callbacks --- */
static void
-_efl_model_properties_change_cb(void *data, const Eo_Event *event)
+_efl_model_properties_change_cb(void *data, const Efl_Event *event)
{
View_List_ItemData *idata = data;
Efl_Model_Property_Event *evt = event->info;
}
static void
-_efl_model_children_count_change_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_efl_model_children_count_change_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
View_List_ItemData *idata = data;
EINA_SAFETY_ON_NULL_RETURN(idata);
static void
elm_widget_disabled_internal(Eo *obj, Eina_Bool disabled);
static void
-_on_sub_obj_del(void *data, const Eo_Event *event);
+_on_sub_obj_del(void *data, const Efl_Event *event);
static void
-_on_sub_obj_hide(void *data, const Eo_Event *event);
+_on_sub_obj_hide(void *data, const Efl_Event *event);
static void
-_propagate_event(void *data, const Eo_Event *event);
+_propagate_event(void *data, const Efl_Event *event);
EFL_CALLBACKS_ARRAY_DEFINE(elm_widget_subitems_callbacks,
{ EFL_EVENT_DEL, _on_sub_obj_del },
}
static void
-_on_sub_obj_hide(void *data EINA_UNUSED, const Eo_Event *event)
+_on_sub_obj_hide(void *data EINA_UNUSED, const Efl_Event *event)
{
elm_widget_focus_hide_handle(event->object);
}
static void
-_on_sub_obj_del(void *data, const Eo_Event *event)
+_on_sub_obj_del(void *data, const Efl_Event *event)
{
ELM_WIDGET_DATA_GET_OR_RETURN(data, sd);
}
static void
-_propagate_event(void *data EINA_UNUSED, const Eo_Event *event)
+_propagate_event(void *data EINA_UNUSED, const Efl_Event *event)
{
Eo *obj = event->object;
INTERNAL_ENTRY;
}
static void
-_track_obj_view_update(void *data, const Eo_Event *event)
+_track_obj_view_update(void *data, const Efl_Event *event)
{
Elm_Widget_Item_Data *item = data;
_track_obj_update(item->track_obj, event->object);
}
static void
-_track_obj_view_del(void *data, const Eo_Event *event);
+_track_obj_view_del(void *data, const Efl_Event *event);
EFL_CALLBACKS_ARRAY_DEFINE(tracker_callbacks,
{ EFL_GFX_EVENT_RESIZE, _track_obj_view_update },
{ EFL_EVENT_DEL, _track_obj_view_del });
static void
-_track_obj_view_del(void *data, const Eo_Event *event EINA_UNUSED)
+_track_obj_view_del(void *data, const Efl_Event *event EINA_UNUSED)
{
Elm_Widget_Item_Data *item = data;
#define ERR_NOT_SUPPORTED(item, method) ERR("%s does not support %s API.", elm_widget_type_get(item->widget), method);
static void
-_efl_del_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_efl_del_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Elm_Widget_Item_Data *item = efl_data_scope_get(event->object, ELM_WIDGET_ITEM_CLASS);
ELM_WIDGET_ITEM_CHECK_OR_RETURN(item);
*
* @li @ref Efl_Class_Base
* @li @ref Efl_Class
- * @li @ref Eo_Events
+ * @li @ref Efl_Events
* @li @ref Eo_Composite_Objects
*
* @section eo_main_intro_example Introductory Example
#define EFL_NOOP ((Efl_Object_Op) 0)
/**
- * @addtogroup Eo_Events Eo's Event Handling
+ * @addtogroup Efl_Events Eo's Event Handling
* @{
*/
#define efl_wref_del_safe(wref) efl_weak_unref(wref)
/**
- * @addtogroup Eo_Events Eo's Event Handling
+ * @addtogroup Efl_Events Eo's Event Handling
* @{
*/
restart: bool; [[Eina_True if when the event is triggered again from a callback, it should start from where it was]]
}
-struct Eo.Event {
+struct Efl.Event {
[[Parameter passed in event callbacks holding extra event parameters]]
object: Efl.Object; [[The object the event was called on.]]
desc: ref(const(Efl.Event.Description)); [[The event description.]]
pd->ext = NULL;
}
-static void _key_generic_cb_del(void *data, const Eo_Event *event);
+static void _key_generic_cb_del(void *data, const Efl_Event *event);
static void
_eo_generic_data_node_free(Eo_Generic_Data_Node *node)
}
static void
-_key_generic_cb_del(void *data, const Eo_Event *event EINA_UNUSED)
+_key_generic_cb_del(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo_Generic_Data_Node *node = data;
Efl_Object_Data *pd = efl_data_scope_get(node->obj, EFL_OBJECT_CLASS);
Eo_Callback_Description *cb;
Eo_Current_Callback_Description *lookup = NULL;
Eo_Current_Callback_Description saved;
- Eo_Event ev;
+ Efl_Event ev;
ev.object = obj_id;
ev.desc = desc;
}
static void
-_efl_event_forwarder_callback(void *data, const Eo_Event *event)
+_efl_event_forwarder_callback(void *data, const Efl_Event *event)
{
Eo *new_obj = (Eo *) data;
Eina_Bool ret = EINA_FALSE;
{
eina_strbuf_append(buf, "void (*");
_append_name(tp, buf);
- eina_strbuf_append(buf, ")(void *data, const Eo_Event *event)");
+ eina_strbuf_append(buf, ")(void *data, const Efl_Event *event)");
return;
}
}
static void
-_eo_evas_object_cb(void *data, const Eo_Event *event)
+_eo_evas_object_cb(void *data, const Efl_Event *event)
{
Evas_Event_Flags *event_flags = NULL, evflags = EVAS_EVENT_FLAG_NONE;
Efl_Input_Event *efl_event_info = event->info;
}
static void
-_eo_evas_cb(void *data, const Eo_Event *event)
+_eo_evas_cb(void *data, const Efl_Event *event)
{
_eo_evas_cb_info *info = data;
if (info->func) info->func(info->data, event->object, event->info);
}
static void
-_animator_repeater(void *data, const Eo_Event *event)
+_animator_repeater(void *data, const Efl_Event *event)
{
Evas_Object_Protected_Data *obj = data;
}
static void
-_check_event_catcher_add(void *data, const Eo_Event *event)
+_check_event_catcher_add(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Evas_Object_Protected_Data *obj = data;
}
static void
-_check_event_catcher_del(void *data, const Eo_Event *event)
+_check_event_catcher_del(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *array = event->info;
Evas_Object_Protected_Data *obj = data;
}
static void
-_evas_canvas3d_node_private_callback_collision(void *data, const Eo_Event *event)
+_evas_canvas3d_node_private_callback_collision(void *data, const Efl_Event *event)
{
Eina_List *collision_list = NULL, *l = NULL;
Evas_Canvas3D_Node *target_node = NULL, *n = NULL;
}
}
static void
-_evas_canvas3d_node_private_callback_clicked(void *data EINA_UNUSED, const Eo_Event *event)
+_evas_canvas3d_node_private_callback_clicked(void *data EINA_UNUSED, const Efl_Event *event)
{
Eina_Bool ret = EINA_FALSE;
const Efl_Event_Description *eo_desc = efl_object_legacy_only_event_description_get("clicked");
/*Private callbacks */
static void
-_evas_canvas3d_node_private_callback_clicked(void *data, const Eo_Event *event);
+_evas_canvas3d_node_private_callback_clicked(void *data, const Efl_Event *event);
static void
-_evas_canvas3d_node_private_callback_collision(void *data, const Eo_Event *event);
+_evas_canvas3d_node_private_callback_collision(void *data, const Efl_Event *event);
Efl_Event_Cb evas_canvas3d_node_private_callback_functions[] =
{
extern const char *o_rect_type;
extern const char *o_image_type;
-static void _clipper_del_cb(void *data, const Eo_Event *event);
+static void _clipper_del_cb(void *data, const Efl_Event *event);
EOLIAN void
_efl_canvas_object_clip_set(Eo *eo_obj, Evas_Object_Protected_Data *obj, Evas_Object *eo_clip)
}
static void
-_clipper_del_cb(void *data, const Eo_Event *event)
+_clipper_del_cb(void *data, const Efl_Event *event)
{
Evas_Object *eo_obj = data;
Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
*/
static void
-_del_cb(void *data, const Eo_Event *ev)
+_del_cb(void *data, const Efl_Event *ev)
{
Evas_Public_Data *e = data;
}
static void
-_evas_canvas_event_pointer_cb(void *data, const Eo_Event *event)
+_evas_canvas_event_pointer_cb(void *data, const Efl_Event *event)
{
Efl_Input_Pointer_Data *ev = efl_data_scope_get(event->info, EFL_INPUT_POINTER_CLASS);
Evas_Public_Data *e = data;
}
static void
-_evas_canvas_event_key_cb(void *data, const Eo_Event *event)
+_evas_canvas_event_key_cb(void *data, const Efl_Event *event)
{
Efl_Input_Key *evt = event->info;
Evas_Public_Data *e = data;
}
static void
-_render_post_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_render_post_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Eo *eo_obj = data;
Evas_Object_Protected_Data *obj = efl_data_scope_get(eo_obj, EFL_CANVAS_OBJECT_CLASS);
}
static void
-_on_child_resize(void *data, const Eo_Event *event EINA_UNUSED)
+_on_child_resize(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *box = data;
EVAS_OBJECT_BOX_DATA_GET_OR_RETURN(box, priv);
}
static void
-_on_child_del(void *data, const Eo_Event *event)
+_on_child_del(void *data, const Efl_Event *event)
{
Evas_Object *box = data;
}
static void
-_on_child_hints_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_on_child_hints_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *box = data;
EVAS_OBJECT_BOX_DATA_GET_OR_RETURN(box, priv);
};
static void
-_eo_evas_smart_cb(void *data, const Eo_Event *event)
+_eo_evas_smart_cb(void *data, const Efl_Event *event)
{
_eo_evas_smart_cb_info *info = data;
if (info->func) info->func(info->data, event->object, event->info);
}
static void
-_on_child_del(void *data, const Eo_Event *event)
+_on_child_del(void *data, const Efl_Event *event)
{
Evas_Object *table = data;
evas_object_table_unpack(table, event->object);
}
static void
-_on_child_hints_changed(void *data, const Eo_Event *event EINA_UNUSED)
+_on_child_hints_changed(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_Object *table = data;
EVAS_OBJECT_TABLE_DATA_GET_OR_RETURN(table, priv);
}
void
-_obstacle_del_cb(void *data, const Eo_Event *event)
+_obstacle_del_cb(void *data, const Efl_Event *event)
{
Eo *eo_obj = data;
Efl_Canvas_Text_Data *obj = efl_data_scope_get(eo_obj, MY_CLASS);
}
static void
-_cleanup_reference(void *data, const Eo_Event *event EINA_UNUSED)
+_cleanup_reference(void *data, const Efl_Event *event EINA_UNUSED)
{
Evas_VG_Data *pd = data;
Eo *renderer;
};
static void
-_efl_vg_property_changed(void *data, const Eo_Event *event)
+_efl_vg_property_changed(void *data, const Efl_Event *event)
{
Efl_VG_Data *pd = data;
Eo *parent;
}
static void
-_evas_vg_root_node_changed(void *data, const Eo_Event *event)
+_evas_vg_root_node_changed(void *data, const Efl_Event *event)
{
Efl_VG_Root_Node_Data *pd = data;
Efl_VG_Data *bd = efl_data_scope_get(event->object, EFL_VG_CLASS);
}
static void
-_ctxpopup_dismissed_cb(void *data, const Eo_Event *event)
+_ctxpopup_dismissed_cb(void *data, const Efl_Event *event)
{
Ctxpopup_Module_Data *ctx_mod;
ctx_mod = (Ctxpopup_Module_Data *)data;
}
static void
-_diskselector_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_diskselector_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
DiskItem_Data *disk_data;
struct tm curr_time;
}
static void
-_ampm_clicked_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_ampm_clicked_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Ctxpopup_Module_Data *ctx_mod;
struct tm curr_time;
}
static void
-_field_clicked_cb(void *data, const Eo_Event *event)
+_field_clicked_cb(void *data, const Efl_Event *event)
{
Ctxpopup_Module_Data *ctx_mod;
Evas_Object *diskselector;
};
static void
-_item_changed_cb(void *data, const Eo_Event *event)
+_item_changed_cb(void *data, const Efl_Event *event)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
};
static void
-_item_changed_cb(void *data, const Eo_Event *event)
+_item_changed_cb(void *data, const Efl_Event *event)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
};
static void
-_item_changed_cb(void *data, const Eo_Event *event)
+_item_changed_cb(void *data, const Efl_Event *event)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
}
static void
-_item_changed_cb(void *data, const Eo_Event *event)
+_item_changed_cb(void *data, const Efl_Event *event)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
};
static void
-_item_changed_cb(void *data, const Eo_Event *event)
+_item_changed_cb(void *data, const Efl_Event *event)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
};
static void
-_item_changed_cb(void *data, const Eo_Event *event)
+_item_changed_cb(void *data, const Efl_Event *event)
{
Elm_Prefs_Item_Changed_Cb prefs_it_changed_cb = data;
}
static void
-_frame_decode_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_frame_decode_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
struct _emotion_plugin *_plugin = data;
}
static void
-_frame_resized_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_frame_resized_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
_resize_movie(data);
}
static void
-_video_stopped_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_video_stopped_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
struct _emotion_plugin *_plugin = data;
}
static void
-_evas_gl_preload_target_die(void *data, const Eo_Event *event)
+_evas_gl_preload_target_die(void *data, const Efl_Event *event)
{
Evas_GL_Texture *tex = data;
};
static void
-_cb_args1(void *data EINA_UNUSED, const Eo_Event *event)
+_cb_args1(void *data EINA_UNUSED, const Efl_Event *event)
{
Efl_Loop_Arguments *arge = event->info;
unsigned int i;
END_TEST
static void
-_cb_args2(void *data EINA_UNUSED, const Eo_Event *event)
+_cb_args2(void *data EINA_UNUSED, const Efl_Event *event)
{
Efl_Loop_Arguments *arge = event->info;
END_TEST
static void
-_cb_args3(void *data EINA_UNUSED, const Eo_Event *event)
+_cb_args3(void *data EINA_UNUSED, const Efl_Event *event)
{
Efl_Loop_Arguments *arge = event->info;
END_TEST
static void
-_eo_read_cb(void *data, const Eo_Event *info EINA_UNUSED)
+_eo_read_cb(void *data, const Efl_Event *info EINA_UNUSED)
{
Eina_Bool *did = data;
END_TEST
static void
-_efl_del_cb(void *data, const Eo_Event *ev EINA_UNUSED)
+_efl_del_cb(void *data, const Efl_Event *ev EINA_UNUSED)
{
Eina_Bool *dead = data;
#include "ecore_suite.h"
-static void _finished_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+static void _finished_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
ecore_main_loop_quit();
}
-static void _looped_cb(void *data EINA_UNUSED, const Eo_Event *event)
+static void _looped_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
ecore_audio_obj_in_looped_set(event->object, EINA_FALSE);
}
#ifdef HAVE_PULSE
#if 0
-static void _failed_cb(void *data, const Eo_Event *event EINA_UNUSED)
+static void _failed_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
Eina_Bool *pulse_context_failed = data;
}
static void
-_test_death_cb(void *data, const Eo_Event *ev EINA_UNUSED)
+_test_death_cb(void *data, const Efl_Event *ev EINA_UNUSED)
{
Eina_Bool *die = data;
}
static void
-_test_run_cb(void *data, const Eo_Event *ev EINA_UNUSED)
+_test_run_cb(void *data, const Efl_Event *ev EINA_UNUSED)
{
_test_time_cb(data);
}
};
static void
-_children_removed_cb(void *data EINA_UNUSED, const Eo_Event* event)
+_children_removed_cb(void *data EINA_UNUSED, const Efl_Event* event)
{
fprintf(stderr, __FILE__ ":%d %s\n", __LINE__, __func__);
if(children_deleted)
}
static void
-_children_added_cb(void *data EINA_UNUSED, const Eo_Event* event)
+_children_added_cb(void *data EINA_UNUSED, const Efl_Event* event)
{
fprintf(stderr, __FILE__ ":%d %s\n", __LINE__, __func__);
Efl_Model_Children_Event* evt = event->info;
static int DONE_CALLED = 0xdeadbeef;
static void
-_filter_direct_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_filter_direct_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Eio_Filter_Direct_Data *event_info = event->info;
char *last_slash = strrchr(event_info->info->path, '/');
}
static void
-_filter_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_filter_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Eio_Filter_Name_Data *event_info = event->info;
char *last_slash = strrchr(event_info->file, '/');
int total_attributes = sizeof(attribute)/sizeof(attribute[0]);
static void
-_filter_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_filter_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
Eio_Filter_Name_Data *event_info = event->info;
/////// helper functions
-static void _check_event_path(void *data, const Eo_Event *event)
+static void _check_event_path(void *data, const Efl_Event *event)
{
Eio_Sentry_Event *event_info = event->info;
ck_assert_str_eq((const char*)data, event_info->trigger);
}
END_TEST
-static void _target_notified_cb(void *data, const Eo_Event *event)
+static void _target_notified_cb(void *data, const Efl_Event *event)
{
_check_event_path(data, event);
_cancel_timeout();
}
END_TEST
-static void _unexpected_event_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+static void _unexpected_event_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
ck_abort_msg("unexpected event");
}
}
static void
-_efl_event_quit_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_efl_event_quit_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
ecore_main_loop_quit();
efl_event_callback_stop(event->object);
END_TEST
static void
-_children_changed_cb(void *data EINA_UNUSED, const Eo_Event *event)
+_children_changed_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
if (event->desc != ELM_INTERFACE_ATSPI_ACCESSIBLE_EVENT_CHILDREN_CHANGED)
return;
END_TEST
static void
-_async_error_cb(void *data, const Eo_Event *event)
+_async_error_cb(void *data, const Efl_Event *event)
{
Test_Data *td = data;
char path[PATH_MAX];
}
static void
-_async_opened_cb(void *data, const Eo_Event *event)
+_async_opened_cb(void *data, const Efl_Event *event)
{
Test_Data *td = data;
const char *ff, *kk, *r1, *r2;
Evas_Coord x, y;
};
-static void bg_key_down(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED);
+static void bg_key_down(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED);
static Evas_Object *o_bg = NULL;
}
static void
-bg_key_down(void *data EINA_UNUSED, const Eo_Event *event)
+bg_key_down(void *data EINA_UNUSED, const Efl_Event *event)
{
Efl_Input_Key *ev = event->info;
Eina_List *l;
}
static void
-_oe_free_cb(void *data, const Eo_Event *event EINA_UNUSED)
+_oe_free_cb(void *data, const Efl_Event *event EINA_UNUSED)
{
free(data);
}
}
static void
-video_obj_frame_decode_cb(void *data, const Eo_Event *event)
+video_obj_frame_decode_cb(void *data, const Efl_Event *event)
{
video_obj_time_changed(event->object, data);
}
static void
-video_obj_frame_resize_cb(void *data, const Eo_Event *event)
+video_obj_frame_resize_cb(void *data, const Efl_Event *event)
{
Evas_Object *oe;
int iw, ih;
}
static void
-video_obj_length_change_cb(void *data, const Eo_Event *event)
+video_obj_length_change_cb(void *data, const Efl_Event *event)
{
printf("len change!\n");
video_obj_time_changed(event->object, data);
}
static void
-video_obj_position_update_cb(void *data, const Eo_Event *event)
+video_obj_position_update_cb(void *data, const Efl_Event *event)
{
printf("pos up!\n");
video_obj_time_changed(event->object, data);
}
static void
-video_obj_stopped_cb(void *data EINA_UNUSED, const Eo_Event *event)
+video_obj_stopped_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
printf("video stopped!!!\n");
if (loop)
}
static void
-video_obj_channels_cb(void *data EINA_UNUSED, const Eo_Event *event)
+video_obj_channels_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
printf("channels changed: [AUD %i][VID %i][SPU %i]\n",
emotion_object_audio_channel_count(event->object),
}
static void
- video_obj_title_cb(void *data EINA_UNUSED, const Eo_Event *event)
+ video_obj_title_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
printf("video title to: \"%s\"\n", emotion_object_title_get(event->object));
}
static void
-video_obj_progress_cb(void *data EINA_UNUSED, const Eo_Event *event)
+video_obj_progress_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
printf("progress: \"%s\" %3.3f\n",
emotion_object_progress_info_get(event->object),
}
static void
-video_obj_ref_cb(void *data EINA_UNUSED, const Eo_Event *event)
+video_obj_ref_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
printf("video ref to: \"%s\" %i\n",
emotion_object_ref_file_get(event->object),
}
static void
-video_obj_button_num_cb(void *data EINA_UNUSED, const Eo_Event *event)
+video_obj_button_num_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
printf("video spu buttons to: %i\n",
emotion_object_spu_button_count_get(event->object));
}
static void
-video_obj_button_cb(void *data EINA_UNUSED, const Eo_Event *event)
+video_obj_button_cb(void *data EINA_UNUSED, const Efl_Event *event)
{
printf("video selected spu button: %i\n",
emotion_object_spu_button_get(event->object));
static int cb_called = EINA_FALSE;
static void
-_a_changed_cb(void *data, const Eo_Event *event)
+_a_changed_cb(void *data, const Efl_Event *event)
{
int new_a = *((int *) event->info);
printf("%s event_info:'%d' data:'%s'\n", __func__, new_a, (const char *) data);
static int cb_count = 0;
static void
-_null_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_null_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
}
static void
-_a_changed_cb(void *data, const Eo_Event *event)
+_a_changed_cb(void *data, const Efl_Event *event)
{
int new_a = *((int *) event->info);
printf("%s event_info:'%d' data:'%d'\n", __func__, new_a, (int) (intptr_t) data);
static int called = 0;
static void
-_restart_1_cb(void *data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_restart_1_cb(void *data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
fprintf(stderr, "restart 1 inside: %i\n", inside);
fail_if(!inside);
}
static void
-_restart_2_cb(void *data, const Eo_Event *event)
+_restart_2_cb(void *data, const Efl_Event *event)
{
fprintf(stderr, "restart 2 inside: %i\n", inside);
fail_if(inside);
}
void
-_cb_added(void *data EINA_UNUSED, const Eo_Event *event)
+_cb_added(void *data EINA_UNUSED, const Efl_Event *event)
{
Simple_Public_Data *pd = efl_data_scope_get(event->object, MY_CLASS);
const Efl_Callback_Array_Item *callback_array = event->info;
}
void
-_cb_deled(void *data EINA_UNUSED, const Eo_Event *event)
+_cb_deled(void *data EINA_UNUSED, const Efl_Event *event)
{
Simple_Public_Data *pd = efl_data_scope_get(event->object, MY_CLASS);
const Efl_Callback_Array_Item *callback_array = event->info;
static int _eo_signals_cb_flag = 0;
static void
-_eo_signals_a_changed_cb(void *_data, const Eo_Event *event EINA_UNUSED)
+_eo_signals_a_changed_cb(void *_data, const Efl_Event *event EINA_UNUSED)
{
int data = (intptr_t) _data;
_eo_signals_cb_current++;
}
static void
-_eo_signals_a_changed_cb2(void *_data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_eo_signals_a_changed_cb2(void *_data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
_eo_signals_cb_flag |= 0x2;
efl_event_callback_stop(event->object);
}
static void
-_eo_signals_a_changed_within_cb(void *_data EINA_UNUSED, const Eo_Event *event)
+_eo_signals_a_changed_within_cb(void *_data EINA_UNUSED, const Efl_Event *event)
{
int a = 3;
efl_event_callback_legacy_call(event->object, EV_A_CHANGED, &a);
}
static void
-_eo_signals_a_changed_never(void *_data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_eo_signals_a_changed_never(void *_data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
/* This one should never be called. */
fail_if(1);
}
static void
-_eo_signals_efl_del_cb(void *_data EINA_UNUSED, const Eo_Event *event EINA_UNUSED)
+_eo_signals_efl_del_cb(void *_data EINA_UNUSED, const Efl_Event *event EINA_UNUSED)
{
_eo_signals_cb_flag |= 0x4;
}
void
-_eo_signals_cb_added_deled(void *data, const Eo_Event *event)
+_eo_signals_cb_added_deled(void *data, const Efl_Event *event)
{
const Efl_Callback_Array_Item *callback_array = event->info;
const Efl_Callback_Array_Item *(*callback_data)(void) = data;
typedef Evas_Coord2 Evas_Coord3;
-typedef void (*Event)(void *data, const Eo_Event *event);
+typedef void (*Event)(void *data, const Efl_Event *event);
typedef enum
{
typedef Evas_Coord2 Evas_Coord3;
-typedef void (*Event)(void *data, const Eo_Event *event);
+typedef void (*Event)(void *data, const Efl_Event *event);
#endif