static Eina_Bool
_length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
- fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->obj));
+ fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object));
return EINA_TRUE;
}
static Eina_Bool
_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
- fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->obj));
+ fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object));
return EINA_TRUE;
}
_progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n",
- emotion_object_progress_status_get(ev->obj),
- emotion_object_progress_info_get(ev->obj));
+ emotion_object_progress_status_get(ev->object),
+ emotion_object_progress_info_get(ev->object));
return EINA_TRUE;
}
_frame_resize_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
int w, h;
- emotion_object_size_get(ev->obj, &w, &h);
+ emotion_object_size_get(ev->object, &w, &h);
fprintf(stderr, "smartcb: frame_resize: %dx%d\n", w, h);
return EINA_TRUE;
_playback_stopped_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
printf("Emotion playback stopped.\n");
- emotion_object_play_set(ev->obj, EINA_FALSE);
- emotion_object_position_set(ev->obj, 0);
+ emotion_object_play_set(ev->object, EINA_FALSE);
+ emotion_object_position_set(ev->object, 0);
return EINA_TRUE;
}
static Eina_Bool
_length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
- fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->obj));
+ fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object));
return EINA_TRUE;
}
static Eina_Bool
_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
- fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->obj));
+ fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object));
return EINA_TRUE;
}
_progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n",
- emotion_object_progress_status_get(ev->obj),
- emotion_object_progress_info_get(ev->obj));
+ emotion_object_progress_status_get(ev->object),
+ emotion_object_progress_info_get(ev->object));
return EINA_TRUE;
}
_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
printf(">>> Emotion object started playback.\n");
- _display_info(ev->obj);
+ _display_info(ev->object);
return EINA_TRUE;
}
_playback_finished_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
printf(">>> Emotion object finished playback.\n");
- _display_info(ev->obj);
+ _display_info(ev->object);
return EINA_TRUE;
}
_open_done_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
printf(">>> Emotion object open done.\n");
- _display_info(ev->obj);
+ _display_info(ev->object);
return EINA_TRUE;
}
_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
printf(">>> Emotion object first position update.\n");
- eo_event_callback_del(ev->obj, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL);
- _display_info(ev->obj);
+ eo_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL);
+ _display_info(ev->object);
return EINA_TRUE;
}
_frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
printf(">>> Emotion object first frame decode.\n");
- eo_event_callback_del(ev->obj, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL);
- _display_info(ev->obj);
+ eo_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL);
+ _display_info(ev->object);
return EINA_TRUE;
}
_decode_stop_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
printf(">>> Emotion object decode stop.\n");
- _display_info(ev->obj);
+ _display_info(ev->object);
return EINA_TRUE;
}
_frame_resize_cb(void *data EINA_UNUSED, const Eo_Event *ev)
{
printf(">>> Emotion object frame resize.\n");
- _display_info(ev->obj);
+ _display_info(ev->object);
return EINA_TRUE;
}