From 799b08214dffc3c86e30c4547acd9015078a18ac Mon Sep 17 00:00:00 2001 From: Jon Lund Steffensen Date: Wed, 31 Dec 2014 00:11:24 -0500 Subject: Add location_t type with lat/lon fields --- src/location-corelocation.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/location-corelocation.h') diff --git a/src/location-corelocation.h b/src/location-corelocation.h index 58dddd7..4b74382 100644 --- a/src/location-corelocation.h +++ b/src/location-corelocation.h @@ -22,6 +22,8 @@ #include +#include "redshift.h" + int location_corelocation_init(void *state); int location_corelocation_start(void *state); @@ -32,7 +34,7 @@ int location_corelocation_set_option(void *state, const char *key, const char *value); int location_corelocation_get_location(void *state, - float *lat, float *lon); + location_t *location); #endif /* ! REDSHIFT_LOCATION_CORELOCATION_H */ -- cgit v1.2.3-70-g09d2