summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_access_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_access_eo.c')
-rw-r--r--src/lib/elementary/elm_access_eo.c51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_access_eo.c b/src/lib/elementary/elm_access_eo.c
new file mode 100644
index 0000000..e2a48bd
--- /dev/null
+++ b/src/lib/elementary/elm_access_eo.c
@@ -0,0 +1,51 @@
1
2Efl_Object *_elm_access_efl_object_constructor(Eo *obj, void *pd);
3
4
5Eina_Bool _elm_access_efl_ui_widget_on_access_activate(Eo *obj, void *pd, Efl_Ui_Activate act);
6
7
8Eina_Bool _elm_access_efl_ui_focus_object_on_focus_update(Eo *obj, void *pd);
9
10
11const Efl_Access_Action_Data *_elm_access_efl_access_widget_action_elm_actions_get(const Eo *obj, void *pd);
12
13
14Efl_Access_State_Set _elm_access_efl_access_object_state_set_get(const Eo *obj, void *pd);
15
16
17static Eina_Bool
18_elm_access_class_initializer(Efl_Class *klass)
19{
20 const Efl_Object_Ops *opsp = NULL;
21
22 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
23
24#ifndef ELM_ACCESS_EXTRA_OPS
25#define ELM_ACCESS_EXTRA_OPS
26#endif
27
28 EFL_OPS_DEFINE(ops,
29 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_access_efl_object_constructor),
30 EFL_OBJECT_OP_FUNC(efl_ui_widget_on_access_activate, _elm_access_efl_ui_widget_on_access_activate),
31 EFL_OBJECT_OP_FUNC(efl_ui_focus_object_on_focus_update, _elm_access_efl_ui_focus_object_on_focus_update),
32 EFL_OBJECT_OP_FUNC(efl_access_widget_action_elm_actions_get, _elm_access_efl_access_widget_action_elm_actions_get),
33 EFL_OBJECT_OP_FUNC(efl_access_object_state_set_get, _elm_access_efl_access_object_state_set_get),
34 ELM_ACCESS_EXTRA_OPS
35 );
36 opsp = &ops;
37
38 return efl_class_functions_set(klass, opsp, ropsp);
39}
40
41static const Efl_Class_Description _elm_access_class_desc = {
42 EO_VERSION,
43 "Elm.Access",
44 EFL_CLASS_TYPE_REGULAR,
45 0,
46 _elm_access_class_initializer,
47 _elm_access_class_constructor,
48 NULL
49};
50
51EFL_DEFINE_CLASS(elm_access_class_get, &_elm_access_class_desc, EFL_UI_WIDGET_CLASS, EFL_ACCESS_WIDGET_ACTION_MIXIN, NULL);