diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2011-05-03 18:03:58 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:16:56 +0300 |
commit | 1c052fd1e5474b2ebf80636a75a8baa5a3a92bce (patch) | |
tree | 348ee748c5b6bbac35a9fbbc9bfe557a5c6b3b5f /platform/location.hpp | |
parent | f91561f65cf2dd54cfafd636c13d0aac567c935c (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.hpp | 6 |
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(); |