summaryrefslogtreecommitdiff
path: root/src/examples/emotion
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-08-30 13:34:10 +0100
committerTom Hacohen <tom@stosb.com>2016-08-30 13:34:10 +0100
commitd5e321466e550620e8a1c6df5d5e598787a6a7d9 (patch)
treef749e5112fa486af1668785a63dfd9afbc331183 /src/examples/emotion
parentba80f7e5b027eebcfcbcb2b9758c2047383ec9ca (diff)
Efl object: Rename Eo_Event -> Efl_Event.
This is the last step of the Eo renaming efforts.
Diffstat (limited to 'src/examples/emotion')
-rw-r--r--src/examples/emotion/emotion_basic_example.c2
-rw-r--r--src/examples/emotion/emotion_border_example.c12
-rw-r--r--src/examples/emotion/emotion_generic_example.c12
-rw-r--r--src/examples/emotion/emotion_generic_subtitle_example.c2
-rw-r--r--src/examples/emotion/emotion_signals_example.c14
5 files changed, 21 insertions, 21 deletions
diff --git a/src/examples/emotion/emotion_basic_example.c b/src/examples/emotion/emotion_basic_example.c
index 5ea23bfa50..c7a2417ade 100644
--- a/src/examples/emotion/emotion_basic_example.c
+++ b/src/examples/emotion/emotion_basic_example.c
@@ -15,7 +15,7 @@
15#define HEIGHT (240) 15#define HEIGHT (240)
16 16
17static void 17static void
18_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED) 18_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
19{ 19{
20 printf("Emotion object started playback.\n"); 20 printf("Emotion object started playback.\n");
21} 21}
diff --git a/src/examples/emotion/emotion_border_example.c b/src/examples/emotion/emotion_border_example.c
index c113f6dc90..c3088b77a1 100644
--- a/src/examples/emotion/emotion_border_example.c
+++ b/src/examples/emotion/emotion_border_example.c
@@ -18,7 +18,7 @@ static Eina_List *filenames = NULL;
18static Eina_List *curfile = NULL; 18static Eina_List *curfile = NULL;
19 19
20static void 20static void
21_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED) 21_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
22{ 22{
23 printf("Emotion object started playback.\n"); 23 printf("Emotion object started playback.\n");
24} 24}
@@ -106,25 +106,25 @@ _on_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *
106} 106}
107 107
108static void 108static void
109_frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED) 109_frame_decode_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
110{ 110{
111 // fprintf(stderr, "smartcb: frame_decode\n"); 111 // fprintf(stderr, "smartcb: frame_decode\n");
112} 112}
113 113
114static void 114static void
115_length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) 115_length_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
116{ 116{
117 fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object)); 117 fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object));
118} 118}
119 119
120static void 120static void
121_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev) 121_position_update_cb(void *data EINA_UNUSED, const Efl_Event *ev)
122{ 122{
123 fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object)); 123 fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object));
124} 124}
125 125
126static void 126static void
127_progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) 127_progress_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
128{ 128{
129 fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n", 129 fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n",
130 emotion_object_progress_status_get(ev->object), 130 emotion_object_progress_status_get(ev->object),
@@ -132,7 +132,7 @@ _progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev)
132} 132}
133 133
134static void 134static void
135_frame_resize_cb(void *data EINA_UNUSED, const Eo_Event *ev) 135_frame_resize_cb(void *data EINA_UNUSED, const Efl_Event *ev)
136{ 136{
137 int w, h; 137 int w, h;
138 emotion_object_size_get(ev->object, &w, &h); 138 emotion_object_size_get(ev->object, &w, &h);
diff --git a/src/examples/emotion/emotion_generic_example.c b/src/examples/emotion/emotion_generic_example.c
index febd0e330f..ec52c65b02 100644
--- a/src/examples/emotion/emotion_generic_example.c
+++ b/src/examples/emotion/emotion_generic_example.c
@@ -19,13 +19,13 @@ static Eina_List *filenames = NULL;
19static Eina_List *curfile = NULL; 19static Eina_List *curfile = NULL;
20 20
21static void 21static void
22_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED) 22_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
23{ 23{
24 printf("Emotion object started playback.\n"); 24 printf("Emotion object started playback.\n");
25} 25}
26 26
27static void 27static void
28_playback_stopped_cb(void *data EINA_UNUSED, const Eo_Event *ev) 28_playback_stopped_cb(void *data EINA_UNUSED, const Efl_Event *ev)
29{ 29{
30 printf("Emotion playback stopped.\n"); 30 printf("Emotion playback stopped.\n");
31 emotion_object_play_set(ev->object, EINA_FALSE); 31 emotion_object_play_set(ev->object, EINA_FALSE);
@@ -127,25 +127,25 @@ _on_key_down(void *data, Evas *e EINA_UNUSED, Evas_Object *o EINA_UNUSED, void *
127} 127}
128 128
129static void 129static void
130_frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED) 130_frame_decode_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
131{ 131{
132 // fprintf(stderr, "smartcb: frame_decode\n"); 132 // fprintf(stderr, "smartcb: frame_decode\n");
133} 133}
134 134
135static void 135static void
136_length_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) 136_length_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
137{ 137{
138 fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object)); 138 fprintf(stderr, "smartcb: length_change: %0.3f\n", emotion_object_play_length_get(ev->object));
139} 139}
140 140
141static void 141static void
142_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev) 142_position_update_cb(void *data EINA_UNUSED, const Efl_Event *ev)
143{ 143{
144 fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object)); 144 fprintf(stderr, "smartcb: position_update: %0.3f\n", emotion_object_position_get(ev->object));
145} 145}
146 146
147static void 147static void
148_progress_change_cb(void *data EINA_UNUSED, const Eo_Event *ev) 148_progress_change_cb(void *data EINA_UNUSED, const Efl_Event *ev)
149{ 149{
150 fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n", 150 fprintf(stderr, "smartcb: progress_change: %0.3f, %s\n",
151 emotion_object_progress_status_get(ev->object), 151 emotion_object_progress_status_get(ev->object),
diff --git a/src/examples/emotion/emotion_generic_subtitle_example.c b/src/examples/emotion/emotion_generic_subtitle_example.c
index 275298ba54..b5124c6d81 100644
--- a/src/examples/emotion/emotion_generic_subtitle_example.c
+++ b/src/examples/emotion/emotion_generic_subtitle_example.c
@@ -14,7 +14,7 @@
14#define HEIGHT (240) 14#define HEIGHT (240)
15 15
16static void 16static void
17_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev EINA_UNUSED) 17_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev EINA_UNUSED)
18{ 18{
19 printf("Emotion object started playback.\n"); 19 printf("Emotion object started playback.\n");
20} 20}
diff --git a/src/examples/emotion/emotion_signals_example.c b/src/examples/emotion/emotion_signals_example.c
index 325a03e08e..76d68007d4 100644
--- a/src/examples/emotion/emotion_signals_example.c
+++ b/src/examples/emotion/emotion_signals_example.c
@@ -34,28 +34,28 @@ _display_info(Evas_Object *o)
34} 34}
35 35
36static void 36static void
37_playback_started_cb(void *data EINA_UNUSED, const Eo_Event *ev) 37_playback_started_cb(void *data EINA_UNUSED, const Efl_Event *ev)
38{ 38{
39 printf(">>> Emotion object started playback.\n"); 39 printf(">>> Emotion object started playback.\n");
40 _display_info(ev->object); 40 _display_info(ev->object);
41} 41}
42 42
43static void 43static void
44_playback_finished_cb(void *data EINA_UNUSED, const Eo_Event *ev) 44_playback_finished_cb(void *data EINA_UNUSED, const Efl_Event *ev)
45{ 45{
46 printf(">>> Emotion object finished playback.\n"); 46 printf(">>> Emotion object finished playback.\n");
47 _display_info(ev->object); 47 _display_info(ev->object);
48} 48}
49 49
50static void 50static void
51_open_done_cb(void *data EINA_UNUSED, const Eo_Event *ev) 51_open_done_cb(void *data EINA_UNUSED, const Efl_Event *ev)
52{ 52{
53 printf(">>> Emotion object open done.\n"); 53 printf(">>> Emotion object open done.\n");
54 _display_info(ev->object); 54 _display_info(ev->object);
55} 55}
56 56
57static void 57static void
58_position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev) 58_position_update_cb(void *data EINA_UNUSED, const Efl_Event *ev)
59{ 59{
60 printf(">>> Emotion object first position update.\n"); 60 printf(">>> Emotion object first position update.\n");
61 efl_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL); 61 efl_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_POSITION_UPDATE, _position_update_cb, NULL);
@@ -63,7 +63,7 @@ _position_update_cb(void *data EINA_UNUSED, const Eo_Event *ev)
63} 63}
64 64
65static void 65static void
66_frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev) 66_frame_decode_cb(void *data EINA_UNUSED, const Efl_Event *ev)
67{ 67{
68 printf(">>> Emotion object first frame decode.\n"); 68 printf(">>> Emotion object first frame decode.\n");
69 efl_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL); 69 efl_event_callback_del(ev->object, EMOTION_OBJECT_EVENT_FRAME_DECODE, _frame_decode_cb, NULL);
@@ -71,14 +71,14 @@ _frame_decode_cb(void *data EINA_UNUSED, const Eo_Event *ev)
71} 71}
72 72
73static void 73static void
74_decode_stop_cb(void *data EINA_UNUSED, const Eo_Event *ev) 74_decode_stop_cb(void *data EINA_UNUSED, const Efl_Event *ev)
75{ 75{
76 printf(">>> Emotion object decode stop.\n"); 76 printf(">>> Emotion object decode stop.\n");
77 _display_info(ev->object); 77 _display_info(ev->object);
78} 78}
79 79
80static void 80static void
81_frame_resize_cb(void *data EINA_UNUSED, const Eo_Event *ev) 81_frame_resize_cb(void *data EINA_UNUSED, const Efl_Event *ev)
82{ 82{
83 printf(">>> Emotion object frame resize.\n"); 83 printf(">>> Emotion object frame resize.\n");
84 _display_info(ev->object); 84 _display_info(ev->object);