Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
[gecko.git] / netwerk / wifi / win_wifiScanner.h
blob671d8f14132948efc3fdafcded148f433744c60b
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 #pragma once
7 // Moz headers (alphabetical)
8 #include "nsAutoPtr.h"
9 #include "nsCOMArray.h"
10 #include "win_wlanLibrary.h"
12 class nsWifiAccessPoint;
14 class WinWifiScanner {
15 public:
16 WinWifiScanner();
17 ~WinWifiScanner();
19 /**
20 * GetAccessPointsFromWLAN
22 * Scans the available wireless interfaces for nearby access points and
23 * populates the supplied collection with them
25 * @param accessPoints The collection to populate with available APs
26 * @return NS_OK on success, failure codes on failure
28 nsresult GetAccessPointsFromWLAN(nsCOMArray<nsWifiAccessPoint> &accessPoints);
30 private:
31 nsAutoPtr<WinWLANLibrary> mWlanLibrary;