Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <deathbaba@gmail.com>2011-05-03 18:03:58 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:16:56 +0300
commit1c052fd1e5474b2ebf80636a75a8baa5a3a92bce (patch)
tree348ee748c5b6bbac35a9fbbc9bfe557a5c6b3b5f /platform/location.hpp
parentf91561f65cf2dd54cfafd636c13d0aac567c935c (diff)
Introduced LocationManager with multiple location services support
Added WiFi location service for Mac @TODO filter location events from different sources
Diffstat (limited to 'platform/location.hpp')
-rw-r--r--platform/location.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/location.hpp b/platform/location.hpp
index 45a38bcde7..839475eedf 100644
--- a/platform/location.hpp
+++ b/platform/location.hpp
@@ -67,6 +67,8 @@ namespace location
}
public:
+ virtual ~LocationService() {}
+
void SetGpsObserver(TGpsCallback observer)
{
m_gpsObserver = observer;
@@ -85,4 +87,6 @@ namespace location
}
-extern "C" location::LocationService & GetLocationService();
+extern "C" location::LocationService & GetLocationManager();
+extern "C" location::LocationService * CreateAppleLocationService();
+extern "C" location::LocationService * CreateWiFiLocationService();