tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

MacWifiScanner.h (777B)


      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/. */
      4 
      5 #pragma once
      6 
      7 #include "WifiScanner.h"
      8 
      9 class nsWifiAccessPoint;
     10 
     11 namespace mozilla {
     12 
     13 class WifiScannerImpl final : public WifiScanner {
     14 public:
     15  /**
     16   * GetAccessPointsFromWLAN
     17   *
     18   * Scans the available wireless interfaces for nearby access points and
     19   * populates the supplied collection with them
     20   *
     21   * @param accessPoints The collection to populate with available APs
     22   * @return NS_OK on success, failure codes on failure
     23   */
     24  nsresult GetAccessPointsFromWLAN(
     25      nsTArray<RefPtr<nsIWifiAccessPoint>>& accessPoints);
     26 };
     27 
     28 }  // namespace mozilla