blob: f7e7992fdb90adc01751e4c44c2b4638c7ae8e7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include "../std/function.hpp"
#include "../std/vector.hpp"
#include "../std/string.hpp"
class WiFiInfo
{
public:
class Impl;
struct AccessPoint
{
string m_bssid; //!< for example, "33-12-03-5b-44-9a"
string m_ssid; //!< name for APN
string m_signalStrength; //!< for example, "-54"
};
WiFiInfo();
~WiFiInfo();
typedef function<void (vector<WiFiInfo::AccessPoint> const &)> WifiRequestCallbackT;
void RequestWiFiBSSIDs(WifiRequestCallbackT callback);
/// Stops any active updates
void Stop();
private:
Impl * m_pImpl;
};
|