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/wifi_info_windows.cpp | |
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/wifi_info_windows.cpp')
-rw-r--r-- | platform/wifi_info_windows.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/platform/wifi_info_windows.cpp b/platform/wifi_info_windows.cpp new file mode 100644 index 0000000000..cebaddf390 --- /dev/null +++ b/platform/wifi_info_windows.cpp @@ -0,0 +1,34 @@ +#include "wifi_info.hpp" + +#if defined(OMIM_OS_WINDOWS) + #include "internal/wifi_impl_windows.hpp" +#elif defined(OMIM_OS_MAC) + #include "internal/wifi_impl_mac.hpp" +#else + #error "Please add your OS implementation" +#endif + +class WiFiInfo::Impl +{ + WiFiInfo::WifiRequestCallbackT m_callback; + +public: + void RequestWiFiBSSIDs(WifiRequestCallbackT callback) + { + } +}; + + +WiFiInfo::WiFiInfo() : m_pImpl(new WiFiInfo::Impl) +{ +} + +WiFiInfo::~WiFiInfo() +{ + delete m_pImpl; +} + +void WiFiInfo::RequestWiFiBSSIDs(WifiRequestCallbackT callback) +{ + m_pImpl->RequestWiFiBSSIDs(callback); +} |