summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_route_eo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_route_eo.c')
-rw-r--r--src/lib/elementary/elm_route_eo.c56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_route_eo.c b/src/lib/elementary/elm_route_eo.c
new file mode 100644
index 0000000..930eacd
--- /dev/null
+++ b/src/lib/elementary/elm_route_eo.c
@@ -0,0 +1,56 @@
1
2void _elm_route_emap_set(Eo *obj, Elm_Route_Data *pd, void *emap);
3
4EOAPI EFL_VOID_FUNC_BODYV(elm_obj_route_emap_set, EFL_FUNC_CALL(emap), void *emap);
5
6void _elm_route_longitude_min_max_get(const Eo *obj, Elm_Route_Data *pd, double *min, double *max);
7
8EOAPI EFL_VOID_FUNC_BODYV_CONST(elm_obj_route_longitude_min_max_get, EFL_FUNC_CALL(min, max), double *min, double *max);
9
10void _elm_route_latitude_min_max_get(const Eo *obj, Elm_Route_Data *pd, double *min, double *max);
11
12EOAPI EFL_VOID_FUNC_BODYV_CONST(elm_obj_route_latitude_min_max_get, EFL_FUNC_CALL(min, max), double *min, double *max);
13
14Efl_Object *_elm_route_efl_object_constructor(Eo *obj, Elm_Route_Data *pd);
15
16
17Eina_Error _elm_route_efl_ui_widget_theme_apply(Eo *obj, Elm_Route_Data *pd);
18
19
20static Eina_Bool
21_elm_route_class_initializer(Efl_Class *klass)
22{
23 const Efl_Object_Ops *opsp = NULL;
24
25 const Efl_Object_Property_Reflection_Ops *ropsp = NULL;
26
27#ifndef ELM_ROUTE_EXTRA_OPS
28#define ELM_ROUTE_EXTRA_OPS
29#endif
30
31 EFL_OPS_DEFINE(ops,
32 EFL_OBJECT_OP_FUNC(elm_obj_route_emap_set, _elm_route_emap_set),
33 EFL_OBJECT_OP_FUNC(elm_obj_route_longitude_min_max_get, _elm_route_longitude_min_max_get),
34 EFL_OBJECT_OP_FUNC(elm_obj_route_latitude_min_max_get, _elm_route_latitude_min_max_get),
35 EFL_OBJECT_OP_FUNC(efl_constructor, _elm_route_efl_object_constructor),
36 EFL_OBJECT_OP_FUNC(efl_ui_widget_theme_apply, _elm_route_efl_ui_widget_theme_apply),
37 ELM_ROUTE_EXTRA_OPS
38 );
39 opsp = &ops;
40
41 return efl_class_functions_set(klass, opsp, ropsp);
42}
43
44static const Efl_Class_Description _elm_route_class_desc = {
45 EO_VERSION,
46 "Elm.Route",
47 EFL_CLASS_TYPE_REGULAR,
48 sizeof(Elm_Route_Data),
49 _elm_route_class_initializer,
50 _elm_route_class_constructor,
51 NULL
52};
53
54EFL_DEFINE_CLASS(elm_route_class_get, &_elm_route_class_desc, EFL_UI_WIDGET_CLASS, EFL_UI_LEGACY_INTERFACE, NULL);
55
56#include "elm_route_eo.legacy.c"