Merge remote-tracking branch 'remotes/origin/upstream'
[framework/uifw/elementary.git] / src / lib / elm_route.h
1 <<<<<<< HEAD
2 EAPI Evas_Object *elm_route_add(Evas_Object *parent);
3 #ifdef ELM_EMAP
4 EAPI void         elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
5 #endif
6 EAPI double       elm_route_lon_min_get(Evas_Object *obj);
7 EAPI double       elm_route_lat_min_get(Evas_Object *obj);
8 EAPI double       elm_route_lon_max_get(Evas_Object *obj);
9 EAPI double       elm_route_lat_max_get(Evas_Object *obj);
10 =======
11 /**
12  * @defgroup Route Route
13  *
14  * For displaying a route on the map widget.
15  *
16  * @{
17  */
18
19 /**
20  * Add a new route object to the parent's canvas
21  *
22  * @param parent The parent object
23  * @return The new object or NULL if it cannot be created
24  *
25  */
26 EAPI Evas_Object *elm_route_add(Evas_Object *parent);
27
28 #ifdef ELM_EMAP
29 EAPI void         elm_route_emap_set(Evas_Object *obj, EMap_Route *emap);
30 #endif
31
32
33 EINA_DEPRECATED EAPI double       elm_route_lon_min_get(Evas_Object *obj);
34 EINA_DEPRECATED EAPI double       elm_route_lat_min_get(Evas_Object *obj);
35 EINA_DEPRECATED EAPI double       elm_route_lon_max_get(Evas_Object *obj);
36 EINA_DEPRECATED EAPI double       elm_route_lat_max_get(Evas_Object *obj);
37
38 /**
39  * Get the minimum and maximum values along the longitude.
40  *
41  * @param obj The route object.
42  * @param min Pointer to store the minimum value.
43  * @param max Pointer to store the maximum value.
44  *
45  * @note If only one value is needed, the other pointer can be passed
46  * as @c NULL.
47  *
48  * @ingroup Route
49  */
50 EAPI void        elm_route_longitude_min_max_get(const Evas_Object *obj, double *min, double *max);
51
52 /**
53  * Get the minimum and maximum values along the latitude.
54  *
55  * @param obj The route object.
56  * @param min Pointer to store the minimum value.
57  * @param max Pointer to store the maximum value.
58  *
59  * @note If only one value is needed, the other pointer can be passed
60  * as @c NULL.
61  *
62  * @ingroup Route
63  */
64 EAPI void        elm_route_latitude_min_max_get(const Evas_Object *obj, double *min, double *max);
65 >>>>>>> remotes/origin/upstream