diff options
author | San Mehat <san@google.com> | 2009-05-12 15:50:49 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2009-05-12 15:50:49 -0700 |
commit | e67651c89d0cbb759219412d49cbc5680c17df06 (patch) | |
tree | e60d74806196eb4abcb7f236f05235ae72cfa4da /nexus/Supplicant.h | |
parent | dbdb0db516fa4935ff7b5c05914932099237d808 (diff) | |
download | core-e67651c89d0cbb759219412d49cbc5680c17df06.tar.gz core-e67651c89d0cbb759219412d49cbc5680c17df06.tar.bz2 core-e67651c89d0cbb759219412d49cbc5680c17df06.zip |
nexus: Cleanup the scanner and plug it all in so it works
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'nexus/Supplicant.h')
-rw-r--r-- | nexus/Supplicant.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/nexus/Supplicant.h b/nexus/Supplicant.h index 3a796232d..579bfd61d 100644 --- a/nexus/Supplicant.h +++ b/nexus/Supplicant.h @@ -38,17 +38,20 @@ public: Supplicant(); virtual ~Supplicant() {} - virtual int start(); - virtual int stop(); - virtual bool isStarted(); + int start(); + int stop(); + bool isStarted(); + int triggerScan(bool active); + + ScanResultCollection *createLatestScanResults(); + WifiNetworkCollection *createWifiNetworkList(); - virtual int triggerScan(bool active); int getState() { return mState; } - ScanResultCollection *createLatestScanResults(); // XXX: Extract these into an interface +// handlers for SupplicantListener public: virtual int onConnectedEvent(SupplicantEvent *evt); virtual int onDisconnectedEvent(SupplicantEvent *evt); |