summaryrefslogtreecommitdiff
path: root/src/lib/elocation
diff options
context:
space:
mode:
authorStefan Schmidt <s.schmidt@samsung.com>2014-10-30 16:52:47 +0100
committerStefan Schmidt <s.schmidt@samsung.com>2014-11-21 10:38:09 +0100
commitbe4fc157f219420d3699bfb3e200fa290ad9466d (patch)
tree38a6e08ae3329dbfd084a39295c65e88f723b2c5 /src/lib/elocation
parente42db35528189200d48e3052c4abac03a43b7b10 (diff)
elocation: Add enums for GeoClue2 accuracy levels
Some stay the same between 1 and 2 and others have changed. Mark enums that are only available on one version.
Diffstat (limited to 'src/lib/elocation')
-rw-r--r--src/lib/elocation/Elocation.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/lib/elocation/Elocation.h b/src/lib/elocation/Elocation.h
index 1e79ab0f1d..4c5e48291a 100644
--- a/src/lib/elocation/Elocation.h
+++ b/src/lib/elocation/Elocation.h
@@ -97,12 +97,15 @@ EAPI extern int ELOCATION_EVENT_META_READY; /**< Meta provider is ready to be us
97 */ 97 */
98typedef enum { 98typedef enum {
99 ELOCATION_ACCURACY_LEVEL_NONE = 0, 99 ELOCATION_ACCURACY_LEVEL_NONE = 0,
100 ELOCATION_ACCURACY_LEVEL_COUNTRY, 100 ELOCATION_ACCURACY_LEVEL_COUNTRY = 1,
101 ELOCATION_ACCURACY_LEVEL_REGION, 101 ELOCATION_ACCURACY_LEVEL_REGION, /* GeoClue1 only */
102 ELOCATION_ACCURACY_LEVEL_LOCALITY, 102 ELOCATION_ACCURACY_LEVEL_LOCALITY, /* GeoClue1 only */
103 ELOCATION_ACCURACY_LEVEL_POSTALCODE, 103 ELOCATION_ACCURACY_LEVEL_POSTALCODE, /* GeoClue1 only */
104 ELOCATION_ACCURACY_LEVEL_STREET, 104 ELOCATION_ACCURACY_LEVEL_CITY = 4, /* GeoClue2 only */
105 ELOCATION_ACCURACY_LEVEL_DETAILED, 105 ELOCATION_ACCURACY_LEVEL_NEIGHBORHOOD = 5, /* GeoClue2 only */
106 ELOCATION_ACCURACY_LEVEL_STREET = 6,
107 ELOCATION_ACCURACY_LEVEL_DETAILED, /* GeoClue1 only */
108 ELOCATION_ACCURACY_LEVEL_EXACT = 8, /* GeoClue2 only */
106} Elocation_Accuracy_Level; 109} Elocation_Accuracy_Level;
107/**@}*/ 110/**@}*/
108 111