diff options
author | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-16 21:20:06 -0700 |
---|---|---|
committer | Jon Lund Steffensen <jonlst@gmail.com> | 2017-08-17 19:52:29 -0700 |
commit | 153dec0e21530d52b8ee82f6ec588620ec0857d2 (patch) | |
tree | dbfe089e0766447ccf7f594f82f14e11a56bc805 /src/location-geoclue2.h | |
parent | Merge pull request #498 from jonls/osx-travis (diff) | |
download | redshift-ng-153dec0e21530d52b8ee82f6ec588620ec0857d2.tar.gz redshift-ng-153dec0e21530d52b8ee82f6ec588620ec0857d2.tar.bz2 redshift-ng-153dec0e21530d52b8ee82f6ec588620ec0857d2.tar.xz |
Change location providers to allow updates
Change location provider implementations so it is possible for
location providers to dynamically update the location. This
commit adds the interfaces and infrastructure in redshift.c
but none of the location provides are changed to become dynamic.
Diffstat (limited to 'src/location-geoclue2.h')
-rw-r--r-- | src/location-geoclue2.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/location-geoclue2.h b/src/location-geoclue2.h index c3c377b..095d86f 100644 --- a/src/location-geoclue2.h +++ b/src/location-geoclue2.h @@ -14,7 +14,7 @@ You should have received a copy of the GNU General Public License along with Redshift. If not, see <http://www.gnu.org/licenses/>. - Copyright (c) 2014 Jon Lund Steffensen <jonlst@gmail.com> + Copyright (c) 2014-2017 Jon Lund Steffensen <jonlst@gmail.com> */ #ifndef REDSHIFT_LOCATION_GEOCLUE2_H @@ -33,8 +33,9 @@ void location_geoclue2_print_help(FILE *f); int location_geoclue2_set_option(void *state, const char *key, const char *value); -int location_geoclue2_get_location(void *state, - location_t *loc); +int location_geoclue2_get_fd(void *state); +int location_geoclue2_handle(void *state, + location_t *location, int *available); #endif /* ! REDSHIFT_LOCATION_GEOCLUE2_H */ |