efl/src/lib/elementary/elm_route_eo.legacy.h

54 lines
1.3 KiB
C

#ifndef _ELM_ROUTE_EO_LEGACY_H_
#define _ELM_ROUTE_EO_LEGACY_H_
#ifndef _ELM_ROUTE_EO_CLASS_TYPE
#define _ELM_ROUTE_EO_CLASS_TYPE
typedef Eo Elm_Route;
#endif
#ifndef _ELM_ROUTE_EO_TYPES
#define _ELM_ROUTE_EO_TYPES
#endif
/**
* @brief Set map widget for this route
*
* @param[in] obj The object.
* @param[in] emap Elementary map widget
*
* @ingroup Elm_Route_Group
*/
EAPI void elm_route_emap_set(Elm_Route *obj, void *emap);
/**
* @brief Get the minimum and maximum values along the longitude.
*
* @note If only one value is needed, the other pointer can be passed as null.
*
* @param[in] obj The object.
* @param[out] min Pointer to store the minimum value.
* @param[out] max Pointer to store the maximum value.
*
* @ingroup Elm_Route_Group
*/
EAPI void elm_route_longitude_min_max_get(const Elm_Route *obj, double *min, double *max);
/**
* @brief Get the minimum and maximum values along the latitude.
*
* @note If only one value is needed, the other pointer can be passed as null.
*
* @param[in] obj The object.
* @param[out] min Pointer to store the minimum value.
* @param[out] max Pointer to store the maximum value.
*
* @ingroup Elm_Route_Group
*/
EAPI void elm_route_latitude_min_max_get(const Elm_Route *obj, double *min, double *max);
#endif