diff options
author | Maciej S. Szmigiero <mail@maciej.szmigiero.name> | 2022-10-05 23:52:17 +0200 |
---|---|---|
committer | Maciej S. Szmigiero <mail@maciej.szmigiero.name> | 2022-10-06 00:10:45 +0200 |
commit | 1d95627a96779f4b8a58e28ddbf8d0b190235deb (patch) | |
tree | e213d33ab982ee05980747cef54c05bf3dd04c43 | |
parent | 95ca094d08d63a15a6948706ed2959c3cd1a7c9a (diff) | |
download | geoclue-1d95627a96779f4b8a58e28ddbf8d0b190235deb.tar.gz |
location: Add missing location accuracy levels defines in gclue-location.h
And mark these levels which are currently unused for reference.
-rw-r--r-- | src/gclue-location.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/gclue-location.h b/src/gclue-location.h index 579995c..8338002 100644 --- a/src/gclue-location.h +++ b/src/gclue-location.h @@ -77,6 +77,13 @@ GType gclue_location_get_type (void); #define GCLUE_LOCATION_ACCURACY_UNKNOWN -1 /** + * GCLUE_LOCATION_ACCURACY_EXACT: + * + * Constant representing exact-level accuracy. + */ +#define GCLUE_LOCATION_ACCURACY_EXACT 50 /* 50 m */ + +/** * GCLUE_LOCATION_ACCURACY_STREET: * * Constant representing street-level accuracy. @@ -84,6 +91,13 @@ GType gclue_location_get_type (void); #define GCLUE_LOCATION_ACCURACY_STREET 1000 /* 1 km */ /** + * GCLUE_LOCATION_ACCURACY_NEIGHBORHOOD: + * + * Constant representing neighborhood-level accuracy. + */ +#define GCLUE_LOCATION_ACCURACY_NEIGHBORHOOD 3000 /* 3 km */ + +/** * GCLUE_LOCATION_ACCURACY_CITY: * * Constant representing city-level accuracy. @@ -94,6 +108,8 @@ GType gclue_location_get_type (void); * GCLUE_LOCATION_ACCURACY_REGION: * * Constant representing region-level accuracy. + * + * Currently unused. */ #define GCLUE_LOCATION_ACCURACY_REGION 50000 /* 50 km */ @@ -108,6 +124,8 @@ GType gclue_location_get_type (void); * GCLUE_LOCATION_ACCURACY_CONTINENT: * * Constant representing continent-level accuracy. + * + * Currently unused. */ #define GCLUE_LOCATION_ACCURACY_CONTINENT 3000000 /* 3000 km */ |