Commit Graph

8 Commits

Author SHA1 Message Date
Cedric BAIL 21ba61be73 elocation: avoid crash during shutdown due to Ecore_Event queue. 2017-03-09 16:17:58 -08:00
Stefan Schmidt 612633b4e2 elocation: Check for one more retrun of eldbus_message_iter_arguments_get
In this case we want to continue with the loop.

CID: 1251472
2014-11-14 10:51:56 +01:00
Stefan Schmidt 4140941049 elocation: Check return from eldbus_message_iter_arguments_get
Coverity spotted my laziness here with the eldbus functions. Better check that
they actually succeeded.

CID: 1251470, 1251471, 1251472, 1251473
2014-11-12 10:21:00 +01:00
Stefan Schmidt 4c57c254e2 elocation: _EVENT_IN and _EVENT_OUT are internal events which means no EAPI 2014-11-12 09:54:58 +01:00
Stefan Schmidt 821d68ded1 elocation: Check if the passed in address/position/status is already up to date
This API needs to get rewritten when the GeoClue2 support lands.
2014-11-11 12:02:10 +01:00
Stefan Schmidt 510773a99d elocation: Cleanup status code handling
The code is an integer enum so we should really handle it like this. Use dummy
free callbacks for ecore_event_add as we pass not malloced data in.
2014-11-11 11:46:14 +01:00
Stefan Schmidt 1eb4ffcc4d elocation: Mute all unused parameter warnings
The signature is given by the callback so the only thing we can do here is to
mute the warnings.
2014-11-11 11:10:11 +01:00
Stefan Schmidt a2d2cdaf9f elocation: Add elocation libraray to EFL.
Elocation is meant as a convenience library to ease application developers
the usage of geo information in their apps. Adding a geo tag to a picture or
translating an address to a GPS position and show it on a map widget are just
some of the use cases.

In the beginning elocation will rely on the GeoClue1 DBus service. Supporting
the new GeoClue2 DBus service is planned and worked on. GeoClue offers
providers for various techniques to get hold off the current position. Ranging
from GeoIP over wifi and GSM cell location to GPS.

This has been developed a while ago and was living in my private dev space.
It is about time to move this into EFL and bring it forward.

The detection of the GeoClue service is being handled on runtime and no new
dependency is added due to this library.

@feature
2014-11-11 11:02:08 +01:00