tor-browser

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

nsIWifiListener.idl (842B)


      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 #include "nsISupports.idl"
      6 
      7 interface nsIWifiAccessPoint;
      8 
      9 [scriptable, uuid(BCD4BEDE-F4A5-4A62-9071-D7A60174E376)]
     10 interface nsIWifiListener : nsISupports
     11 {
     12  /*
     13   * Called when the list of access points changes.
     14   *
     15   * @param accessPoints An array of nsIWifiAccessPoint representing all
     16   *                     access points in view.
     17   */
     18 
     19  void onChange(in Array<nsIWifiAccessPoint> accessPoints);
     20 
     21  /*
     22   * Called when there is a problem with listening to wifi
     23   *
     24   * @param error the error which caused this event.  The
     25   *              error values will be nsresult codes.
     26   */
     27 
     28  void onError(in nsresult error);
     29 };