summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_view_form_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_view_form_eo.c')
-rw-r--r--src/lib/elementary/elm_view_form_eo.c45
1 files changed, 45 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_view_form_eo.c b/src/lib/elementary/elm_view_form_eo.c
new file mode 100644
index 0000000..5a0b58d
--- /dev/null
+++ b/src/lib/elementary/elm_view_form_eo.c
@@ -0,0 +1,45 @@
1
2void _elm_view_form_model_set(Eo *obj, Elm_View_Form_Data *pd, Efl_Model *model);
3
4EOAPI EFL_VOID_FUNC_BODYV(elm_view_form_model_set, EFL_FUNC_CALL(model), Efl_Model *model);
5
6void _elm_view_form_widget_add(Eo *obj, Elm_View_Form_Data *pd, const char *propname, Efl_Canvas_Object *evas);
7
8EOAPI EFL_VOID_FUNC_BODYV(elm_view_form_widget_add, EFL_FUNC_CALL(propname, evas), const char *propname, Efl_Canvas_Object *evas);
9
10void _elm_view_form_efl_object_destructor(Eo *obj, Elm_View_Form_Data *pd);
11
12
13static Eina_Bool
14_elm_view_form_class_initializer(Efl_Class *klass)
15{
16 const Efl_Object_Ops *opsp = NULL;
17
18 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
19
20#ifndef ELM_VIEW_FORM_EXTRA_OPS
21#define ELM_VIEW_FORM_EXTRA_OPS
22#endif
23
24 EFL_OPS_DEFINE(ops,
25 EFL_OBJECT_OP_FUNC(elm_view_form_model_set, _elm_view_form_model_set),
26 EFL_OBJECT_OP_FUNC(elm_view_form_widget_add, _elm_view_form_widget_add),
27 EFL_OBJECT_OP_FUNC(efl_destructor, _elm_view_form_efl_object_destructor),
28 ELM_VIEW_FORM_EXTRA_OPS
29 );
30 opsp = &ops;
31
32 return efl_class_functions_set(klass, opsp, ropsp);
33}
34
35static const Efl_Class_Description _elm_view_form_class_desc = {
36 EO_VERSION,
37 "Elm.View.Form",
38 EFL_CLASS_TYPE_REGULAR,
39 sizeof(Elm_View_Form_Data),
40 _elm_view_form_class_initializer,
41 NULL,
42 NULL
43};
44
45EFL_DEFINE_CLASS(elm_view_form_class_get, &_elm_view_form_class_desc, EFL_OBJECT_CLASS, NULL);