forked from enlightenment/efl
Elm_Map: port API to eo file.
This function has to be described in elm_map.eo so Eolian can generate the legacy and Eo APIs.
This commit is contained in:
parent
de68623981
commit
63168c996f
|
@ -4612,13 +4612,9 @@ _elm_map_name_add(Eo *obj, Elm_Map_Data *_pd EINA_UNUSED, const char *address, d
|
||||||
name_cb, data);
|
name_cb, data);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EOLIAN static void
|
||||||
elm_map_name_search(const Evas_Object *obj,
|
_elm_map_name_search(Eo *obj, Elm_Map_Data *_pd EINA_UNUSED, const char *address, Elm_Map_Name_List_Cb name_cb, void *data)
|
||||||
const char *address,
|
|
||||||
Elm_Map_Name_List_Cb name_cb,
|
|
||||||
void *data)
|
|
||||||
{
|
{
|
||||||
ELM_MAP_CHECK(obj);
|
|
||||||
if (address)
|
if (address)
|
||||||
_name_list_request(obj, ELM_MAP_NAME_METHOD_SEARCH, address, 0, 0,
|
_name_list_request(obj, ELM_MAP_NAME_METHOD_SEARCH, address, 0, 0,
|
||||||
name_cb, data);
|
name_cb, data);
|
||||||
|
|
|
@ -613,6 +613,23 @@ class Elm_Map (Elm_Widget, Elm_Interface_Scrollable)
|
||||||
@in void *data; /*@ The user callback data. */
|
@in void *data; /*@ The user callback data. */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
name_search {
|
||||||
|
/*@
|
||||||
|
@brief Requests a list of addresses corresponding to a given name.
|
||||||
|
|
||||||
|
@since 1.8
|
||||||
|
|
||||||
|
@remarks This is used if you want to search the address from a name.
|
||||||
|
|
||||||
|
@internal
|
||||||
|
@ingroup Map */
|
||||||
|
const;
|
||||||
|
params {
|
||||||
|
@in const(char)* address; /*@ The address. */
|
||||||
|
@in Elm_Map_Name_List_Cb name_cb; /*@ The callback function. */
|
||||||
|
@in void *data; /*@ The user callback data. */
|
||||||
|
}
|
||||||
|
}
|
||||||
region_bring_in {
|
region_bring_in {
|
||||||
/*@
|
/*@
|
||||||
Animatedly bring in given coordinates to the center of the map.
|
Animatedly bring in given coordinates to the center of the map.
|
||||||
|
|
|
@ -10,22 +10,4 @@
|
||||||
*/
|
*/
|
||||||
EAPI Evas_Object *elm_map_add(Evas_Object *parent);
|
EAPI Evas_Object *elm_map_add(Evas_Object *parent);
|
||||||
|
|
||||||
/**
|
|
||||||
* @internal
|
|
||||||
*
|
|
||||||
* @brief Requests a list of addresses corresponding to a given name.
|
|
||||||
*
|
|
||||||
* @since 1.8
|
|
||||||
*
|
|
||||||
* @remarks This is used if you want to search the address from a name.
|
|
||||||
*
|
|
||||||
* @param obj The map object
|
|
||||||
* @param address The address
|
|
||||||
* @param name_cb The callback function
|
|
||||||
* @param data The user callback data
|
|
||||||
*
|
|
||||||
* @ingroup Map
|
|
||||||
*/
|
|
||||||
EAPI void elm_map_name_search(const Evas_Object *obj, const char *address, Elm_Map_Name_List_Cb name_cb, void *data);
|
|
||||||
|
|
||||||
#include "elm_map.eo.legacy.h"
|
#include "elm_map.eo.legacy.h"
|
||||||
|
|
Loading…
Reference in New Issue