From 1c052fd1e5474b2ebf80636a75a8baa5a3a92bce Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Tue, 3 May 2011 16:03:58 +0200 Subject: Introduced LocationManager with multiple location services support Added WiFi location service for Mac @TODO filter location events from different sources --- platform/location.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'platform/location.hpp') 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(); -- cgit v1.2.3