Elocation Library. More...
Data Structures | |
struct | _Elocation_Accuracy |
struct | _Elocation_Address |
struct | _Elocation_Position |
struct | _Elocation_Velocity |
struct | _Elocation_Requirements |
Typedefs | |
typedef struct _Elocation_Accuracy | Elocation_Accuracy |
typedef struct _Elocation_Address | Elocation_Address |
typedef struct _Elocation_Position | Elocation_Position |
typedef struct _Elocation_Velocity | Elocation_Velocity |
typedef struct _Elocation_Requirements | Elocation_Requirements |
Enumerations | |
enum | Elocation_Accuracy_Level { ELOCATION_ACCURACY_LEVEL_NONE = 0, ELOCATION_ACCURACY_LEVEL_COUNTRY = 1, ELOCATION_ACCURACY_LEVEL_REGION, ELOCATION_ACCURACY_LEVEL_LOCALITY, ELOCATION_ACCURACY_LEVEL_POSTALCODE, ELOCATION_ACCURACY_LEVEL_CITY = 4, ELOCATION_ACCURACY_LEVEL_NEIGHBORHOOD = 5, ELOCATION_ACCURACY_LEVEL_STREET = 6, ELOCATION_ACCURACY_LEVEL_DETAILED, ELOCATION_ACCURACY_LEVEL_EXACT = 8 } |
enum | Elocation_Resource_Flags { ELOCATION_RESOURCE_NONE = 0, ELOCATION_RESOURCE_NETWORK = 1 << 0, ELOCATION_RESOURCE_CELL = 1 << 1, ELOCATION_RESOURCE_GPS = 1 << 2, ELOCATION_RESOURCE_ALL = (1 << 10) - 1 } |
Functions | |
EAPI Elocation_Address * | elocation_address_new (void) |
Create a new address object to operate on. More... | |
EAPI void | elocation_address_free (Elocation_Address *address) |
Free an address object. More... | |
EAPI Elocation_Position * | elocation_position_new (void) |
Create a new position object to operate on. More... | |
EAPI void | elocation_position_free (Elocation_Position *position) |
Free an position object. More... | |
EAPI Eina_Bool | elocation_address_get (Elocation_Address *address) |
Get the current address information. More... | |
EAPI Eina_Bool | elocation_position_get (Elocation_Position *position) |
Get the current position information. More... | |
EAPI Eina_Bool | elocation_status_get (int *status) |
Get the current status. More... | |
EAPI Eina_Bool | elocation_requirements_set (Elocation_Requirements *requirements) |
Set the requirements. More... | |
EAPI Eina_Bool | elocation_position_to_address (Elocation_Position *position_shadow, Elocation_Address *address_shadow) |
Convert position to address. More... | |
EAPI Eina_Bool | elocation_address_to_position (Elocation_Address *address_shadow, Elocation_Position *position_shadow) |
Convert address to position. More... | |
EAPI Eina_Bool | elocation_freeform_address_to_position (const char *freeform_address, Elocation_Position *position_shadow) |
Convert free form address tring to position. More... | |
EAPI Eina_Bool | elocation_landmarks_get (Elocation_Position *position_shadow, Elocation_Address *address_shadow) |
Request a landmark position. More... | |
EAPI Eina_Bool | elocation_init (void) |
Initialize the elocation subsystem. More... | |
EAPI void | elocation_shutdown (void) |
Cleanup and shutdown the elocation subsystem. More... | |
Variables | |
EAPI int | ELOCATION_EVENT_STATUS |
Available location events that are emitted from the library. More... | |
EAPI int | ELOCATION_EVENT_POSITION |
Position changed. | |
EAPI int | ELOCATION_EVENT_ADDRESS |
Address changed. | |
EAPI int | ELOCATION_EVENT_VELOCITY |
Velocity changed. | |
EAPI int | ELOCATION_EVENT_GEOCODE |
Reply for geocode translation arrived. | |
EAPI int | ELOCATION_EVENT_REVERSEGEOCODE |
Reply for geocode translation arrived. | |
EAPI int | ELOCATION_EVENT_NMEA |
NMEA update. | |
EAPI int | ELOCATION_EVENT_SATELLITE |
Satellite info changed. | |
EAPI int | ELOCATION_EVENT_POI |
POI reply. | |
EAPI int | ELOCATION_EVENT_META_READY |
Meta provider is ready to be used. | |
Elocation Library.