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 7 typedef 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 22 EWAPI const Efl_Class *elm_route_class_get(void) EINA_CONST; 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 */ 32 EOAPI 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 */ 45 EOAPI 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 */ 58 EOAPI void elm_obj_route_latitude_min_max_get(const Eo *obj, double *min, double *max); 59 60 #endif 61