1 EWAPI const Efl_Event_Description _ELM_VIEW_LIST_EVENT_MODEL_SELECTED =
2    EFL_EVENT_DESCRIPTION("model,selected");
3 
4 void _elm_view_list_genlist_set(Eo *obj, Elm_View_List_Data *pd, Efl_Canvas_Object *genlist, Elm_Genlist_Item_Type item_type, const char *item_style);
5 
6 EOAPI EFL_VOID_FUNC_BODYV(elm_view_list_genlist_set, EFL_FUNC_CALL(genlist, item_type, item_style), Efl_Canvas_Object *genlist, Elm_Genlist_Item_Type item_type, const char *item_style);
7 
8 void _elm_view_list_evas_object_get(Eo *obj, Elm_View_List_Data *pd, Efl_Canvas_Object **widget);
9 
10 EOAPI EFL_VOID_FUNC_BODYV(elm_view_list_evas_object_get, EFL_FUNC_CALL(widget), Efl_Canvas_Object **widget);
11 
12 void _elm_view_list_property_connect(Eo *obj, Elm_View_List_Data *pd, const char *property, const char *part);
13 
14 EOAPI EFL_VOID_FUNC_BODYV(elm_view_list_property_connect, EFL_FUNC_CALL(property, part), const char *property, const char *part);
15 
16 void _elm_view_list_model_set(Eo *obj, Elm_View_List_Data *pd, Efl_Model *model);
17 
18 EOAPI EFL_VOID_FUNC_BODYV(elm_view_list_model_set, EFL_FUNC_CALL(model), Efl_Model *model);
19 
20 Efl_Model *_elm_view_list_model_get(const Eo *obj, Elm_View_List_Data *pd);
21 
22 EOAPI EFL_FUNC_BODY_CONST(elm_view_list_model_get, Efl_Model *, NULL);
23 
24 void _elm_view_list_efl_object_destructor(Eo *obj, Elm_View_List_Data *pd);
25 
26 
27 static Eina_Bool
_elm_view_list_class_initializer(Efl_Class * klass)28 _elm_view_list_class_initializer(Efl_Class *klass)
29 {
30    const Efl_Object_Ops *opsp = NULL;
31 
32    const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
33 
34 #ifndef ELM_VIEW_LIST_EXTRA_OPS
35 #define ELM_VIEW_LIST_EXTRA_OPS
36 #endif
37 
38    EFL_OPS_DEFINE(ops,
39       EFL_OBJECT_OP_FUNC(elm_view_list_genlist_set, _elm_view_list_genlist_set),
40       EFL_OBJECT_OP_FUNC(elm_view_list_evas_object_get, _elm_view_list_evas_object_get),
41       EFL_OBJECT_OP_FUNC(elm_view_list_property_connect, _elm_view_list_property_connect),
42       EFL_OBJECT_OP_FUNC(elm_view_list_model_set, _elm_view_list_model_set),
43       EFL_OBJECT_OP_FUNC(elm_view_list_model_get, _elm_view_list_model_get),
44       EFL_OBJECT_OP_FUNC(efl_destructor, _elm_view_list_efl_object_destructor),
45       ELM_VIEW_LIST_EXTRA_OPS
46    );
47    opsp = &ops;
48 
49    return efl_class_functions_set(klass, opsp, ropsp);
50 }
51 
52 static const Efl_Class_Description _elm_view_list_class_desc = {
53    EO_VERSION,
54    "Elm.View.List",
55    EFL_CLASS_TYPE_REGULAR,
56    sizeof(Elm_View_List_Data),
57    _elm_view_list_class_initializer,
58    NULL,
59    NULL
60 };
61 
62 EFL_DEFINE_CLASS(elm_view_list_class_get, &_elm_view_list_class_desc, EFL_OBJECT_CLASS, NULL);
63