summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_animation_object_group_private.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/efl_animation_object_group_private.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_animation_object_group_private.h b/src/lib/evas/canvas/efl_animation_object_group_private.h
new file mode 100644
index 0000000000..a710b462e7
--- /dev/null
+++ b/src/lib/evas/canvas/efl_animation_object_group_private.h
@@ -0,0 +1,26 @@
1#define EFL_ANIMATION_OBJECT_PROTECTED
2
3#include "evas_common_private.h"
4
5#define MY_CLASS EFL_ANIMATION_OBJECT_GROUP_CLASS
6#define MY_CLASS_NAME efl_class_name_get(MY_CLASS)
7
8#define EFL_ANIMATION_OBJECT_GROUP_CHECK_OR_RETURN(anim_obj, ...) \
9 do { \
10 if (!anim_obj) { \
11 CRI("Efl_Animation_Object " # anim_obj " is NULL!"); \
12 return __VA_ARGS__; \
13 } \
14 if (efl_animation_object_is_deleted(anim_obj)) { \
15 ERR("Efl_Animation_Object " # anim_obj " has already been deleted!"); \
16 return __VA_ARGS__; \
17 } \
18 } while (0)
19
20#define EFL_ANIMATION_OBJECT_GROUP_DATA_GET(o, pd) \
21 Efl_Animation_Object_Group_Data *pd = efl_data_scope_get(o, EFL_ANIMATION_OBJECT_GROUP_CLASS)
22
23typedef struct _Efl_Animation_Object_Group_Data
24{
25 Eina_List *anim_objs;
26} Efl_Animation_Object_Group_Data;