modules/geolocation: Add communication to geoClue2 to receive current location

Desktop / Enlightenment / Enlightenment - Stefan Schmidt [samsung.com] - 2 April 2015 14:14 UTC

This basically is the GeoClue2 client functionality a normal application also uses. We request the current location and subscribe to updates on it.

Only activated when the users does a left click on the gadget so we do not run always run it in the background. The received information will be displayed in a popup in a following commit.

d67a085 modules/geolocation: Add communication to geoClue2 to receive current location.
src/modules/Makefile_geoclue2.mk | 10 +-
src/modules/geoclue2/e_mod_main.c | 177 +++++++-
src/modules/geoclue2/gen/eldbus_geo_clue2_client.c | 442 ++++++++++++++++++++
src/modules/geoclue2/gen/eldbus_geo_clue2_client.h | 32 ++
.../geoclue2/gen/eldbus_geo_clue2_location.c | 242 +++++++++++
.../geoclue2/gen/eldbus_geo_clue2_location.h | 18 +
.../geoclue2/gen/eldbus_geo_clue2_manager.c | 203 +++++++++
.../geoclue2/gen/eldbus_geo_clue2_manager.h | 19 +
src/modules/geoclue2/gen/eldbus_utils.h | 24 ++
9 files changed, 1157 insertions(+), 10 deletions(-)

Upstream: git.enlightenment.org


  • Share