summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_canvas_animation_player.c
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:09:44 +0200
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2018-04-17 20:31:55 +0200
commitfcae7cab276c2d3b19bb913ad908b67b7dd33089 (patch)
tree7008ebc815184309ccc284c9e7e1b05abbb55028 /src/lib/evas/canvas/efl_canvas_animation_player.c
parente50b43d02fdb0b608f2c99014357c95a1a746c43 (diff)
eolian gen: enable constness generation on property getter impls
This changes a lot of things all across the EFL. Previously, methods tagged @const had both their external prototype and internal impl generated with const on object, while property getters only had const on the external API. This is now changed and it all has const everywhere. Ref T6859.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/efl_canvas_animation_player.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_animation_player.c b/src/lib/evas/canvas/efl_canvas_animation_player.c
index edc9bd1170..864fab986a 100644
--- a/src/lib/evas/canvas/efl_canvas_animation_player.c
+++ b/src/lib/evas/canvas/efl_canvas_animation_player.c
@@ -18,7 +18,7 @@ _efl_canvas_animation_player_target_set(Eo *eo_obj EINA_UNUSED,
18} 18}
19 19
20EOLIAN static Efl_Canvas_Object * 20EOLIAN static Efl_Canvas_Object *
21_efl_canvas_animation_player_target_get(Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd) 21_efl_canvas_animation_player_target_get(const Eo *eo_obj EINA_UNUSED, Efl_Canvas_Animation_Player_Data *pd)
22{ 22{
23 return pd->target; 23 return pd->target;
24} 24}
@@ -32,7 +32,7 @@ _efl_canvas_animation_player_auto_del_set(Eo *eo_obj EINA_UNUSED,
32} 32}
33 33
34EOLIAN static Eina_Bool 34EOLIAN static Eina_Bool
35_efl_canvas_animation_player_auto_del_get(Eo *eo_obj EINA_UNUSED, 35_efl_canvas_animation_player_auto_del_get(const Eo *eo_obj EINA_UNUSED,
36 Efl_Canvas_Animation_Player_Data *pd) 36 Efl_Canvas_Animation_Player_Data *pd)
37{ 37{
38 return pd->auto_del; 38 return pd->auto_del;
@@ -63,7 +63,7 @@ _efl_canvas_animation_player_animation_set(Eo *eo_obj,
63} 63}
64 64
65EOLIAN static Efl_Canvas_Animation * 65EOLIAN static Efl_Canvas_Animation *
66_efl_canvas_animation_player_animation_get(Eo *eo_obj EINA_UNUSED, 66_efl_canvas_animation_player_animation_get(const Eo *eo_obj EINA_UNUSED,
67 Efl_Canvas_Animation_Player_Data *pd) 67 Efl_Canvas_Animation_Player_Data *pd)
68{ 68{
69 return pd->animation; 69 return pd->animation;
@@ -261,14 +261,14 @@ _efl_canvas_animation_player_efl_player_play_set(Eo *eo_obj,
261} 261}
262 262
263EOLIAN static Eina_Bool 263EOLIAN static Eina_Bool
264_efl_canvas_animation_player_efl_player_play_get(Eo *eo_obj EINA_UNUSED, 264_efl_canvas_animation_player_efl_player_play_get(const Eo *eo_obj EINA_UNUSED,
265 Efl_Canvas_Animation_Player_Data *pd) 265 Efl_Canvas_Animation_Player_Data *pd)
266{ 266{
267 return pd->is_play; 267 return pd->is_play;
268} 268}
269 269
270EOLIAN static Eina_Bool 270EOLIAN static Eina_Bool
271_efl_canvas_animation_player_efl_player_playable_get(Eo *eo_obj, 271_efl_canvas_animation_player_efl_player_playable_get(const Eo *eo_obj,
272 Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED) 272 Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED)
273{ 273{
274 Efl_Canvas_Animation *anim = efl_animation_player_animation_get(eo_obj); 274 Efl_Canvas_Animation *anim = efl_animation_player_animation_get(eo_obj);
@@ -277,7 +277,7 @@ _efl_canvas_animation_player_efl_player_playable_get(Eo *eo_obj,
277} 277}
278 278
279EOLIAN static double 279EOLIAN static double
280_efl_canvas_animation_player_efl_player_pos_get(Eo *eo_obj, 280_efl_canvas_animation_player_efl_player_pos_get(const Eo *eo_obj,
281 Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED) 281 Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED)
282{ 282{
283 //TODO: this is not correct 283 //TODO: this is not correct
@@ -303,7 +303,7 @@ _efl_canvas_animation_player_efl_player_pos_set(Eo *eo_obj,
303} 303}
304 304
305EOLIAN static double 305EOLIAN static double
306_efl_canvas_animation_player_efl_player_progress_get(Eo *eo_obj EINA_UNUSED, 306_efl_canvas_animation_player_efl_player_progress_get(const Eo *eo_obj EINA_UNUSED,
307 Efl_Canvas_Animation_Player_Data *pd) 307 Efl_Canvas_Animation_Player_Data *pd)
308{ 308{
309 return pd->progress; 309 return pd->progress;
@@ -321,14 +321,14 @@ _efl_canvas_animation_player_efl_player_play_speed_set(Eo *eo_obj EINA_UNUSED,
321} 321}
322 322
323EOLIAN static double 323EOLIAN static double
324_efl_canvas_animation_player_efl_player_play_speed_get(Eo *eo_obj EINA_UNUSED, 324_efl_canvas_animation_player_efl_player_play_speed_get(const Eo *eo_obj EINA_UNUSED,
325 Efl_Canvas_Animation_Player_Data *pd) 325 Efl_Canvas_Animation_Player_Data *pd)
326{ 326{
327 return pd->play_speed; 327 return pd->play_speed;
328} 328}
329 329
330EOLIAN static double 330EOLIAN static double
331_efl_canvas_animation_player_efl_player_length_get(Eo *eo_obj, 331_efl_canvas_animation_player_efl_player_length_get(const Eo *eo_obj,
332 Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED) 332 Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED)
333{ 333{
334 EFL_ANIMATION_PLAYER_ANIMATION_GET(eo_obj, anim); 334 EFL_ANIMATION_PLAYER_ANIMATION_GET(eo_obj, anim);
@@ -336,7 +336,7 @@ _efl_canvas_animation_player_efl_player_length_get(Eo *eo_obj,
336} 336}
337 337
338EOLIAN static Eina_Bool 338EOLIAN static Eina_Bool
339_efl_canvas_animation_player_efl_player_seekable_get(Eo *eo_obj EINA_UNUSED, 339_efl_canvas_animation_player_efl_player_seekable_get(const Eo *eo_obj EINA_UNUSED,
340 Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED) 340 Efl_Canvas_Animation_Player_Data *pd EINA_UNUSED)
341{ 341{
342 EFL_ANIMATION_PLAYER_ANIMATION_GET(eo_obj, anim); 342 EFL_ANIMATION_PLAYER_ANIMATION_GET(eo_obj, anim);