summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_route_eo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_route_eo.h')
-rw-r--r--src/lib/elementary/elm_route_eo.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_route_eo.h b/src/lib/elementary/elm_route_eo.h
new file mode 100644
index 0000000..a194623
--- /dev/null
+++ b/src/lib/elementary/elm_route_eo.h
@@ -0,0 +1,60 @@
1#ifndef _ELM_ROUTE_EO_H_
2#define _ELM_ROUTE_EO_H_
3
4#ifndef _ELM_ROUTE_EO_CLASS_TYPE
5#define _ELM_ROUTE_EO_CLASS_TYPE
6
7typedef Eo Elm_Route;
8
9#endif
10
11#ifndef _ELM_ROUTE_EO_TYPES
12#define _ELM_ROUTE_EO_TYPES
13
14
15#endif
16/** Elementary route class
17 *
18 * @ingroup Elm_Route
19 */
20#define ELM_ROUTE_CLASS elm_route_class_get()
21
22EWAPI const Efl_Class *elm_route_class_get(void);
23
24/**
25 * @brief Set map widget for this route
26 *
27 * @param[in] obj The object.
28 * @param[in] emap Elementary map widget
29 *
30 * @ingroup Elm_Route
31 */
32EOAPI void elm_obj_route_emap_set(Eo *obj, void *emap);
33
34/**
35 * @brief Get the minimum and maximum values along the longitude.
36 *
37 * @note If only one value is needed, the other pointer can be passed as null.
38 *
39 * @param[in] obj The object.
40 * @param[out] min Pointer to store the minimum value.
41 * @param[out] max Pointer to store the maximum value.
42 *
43 * @ingroup Elm_Route
44 */
45EOAPI void elm_obj_route_longitude_min_max_get(const Eo *obj, double *min, double *max);
46
47/**
48 * @brief Get the minimum and maximum values along the latitude.
49 *
50 * @note If only one value is needed, the other pointer can be passed as null.
51 *
52 * @param[in] obj The object.
53 * @param[out] min Pointer to store the minimum value.
54 * @param[out] max Pointer to store the maximum value.
55 *
56 * @ingroup Elm_Route
57 */
58EOAPI void elm_obj_route_latitude_min_max_get(const Eo *obj, double *min, double *max);
59
60#endif