stefan pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=be4fc157f219420d3699bfb3e200fa290ad9466d

commit be4fc157f219420d3699bfb3e200fa290ad9466d
Author: Stefan Schmidt <[email protected]>
Date:   Thu Oct 30 16:52:47 2014 +0100

    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.
---
 src/lib/elocation/Elocation.h | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/src/lib/elocation/Elocation.h b/src/lib/elocation/Elocation.h
index 1e79ab0..4c5e482 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
  */
 typedef enum {
    ELOCATION_ACCURACY_LEVEL_NONE = 0,
-   ELOCATION_ACCURACY_LEVEL_COUNTRY,
-   ELOCATION_ACCURACY_LEVEL_REGION,
-   ELOCATION_ACCURACY_LEVEL_LOCALITY,
-   ELOCATION_ACCURACY_LEVEL_POSTALCODE,
-   ELOCATION_ACCURACY_LEVEL_STREET,
-   ELOCATION_ACCURACY_LEVEL_DETAILED,
+   ELOCATION_ACCURACY_LEVEL_COUNTRY = 1,
+   ELOCATION_ACCURACY_LEVEL_REGION, /* GeoClue1 only */
+   ELOCATION_ACCURACY_LEVEL_LOCALITY, /* GeoClue1 only */
+   ELOCATION_ACCURACY_LEVEL_POSTALCODE, /* GeoClue1 only */
+   ELOCATION_ACCURACY_LEVEL_CITY = 4, /* GeoClue2 only */
+   ELOCATION_ACCURACY_LEVEL_NEIGHBORHOOD = 5, /* GeoClue2 only */
+   ELOCATION_ACCURACY_LEVEL_STREET = 6,
+   ELOCATION_ACCURACY_LEVEL_DETAILED, /* GeoClue1 only */
+   ELOCATION_ACCURACY_LEVEL_EXACT = 8, /* GeoClue2 only */
 } Elocation_Accuracy_Level;
 /**@}*/
 

-- 


Reply via email to