netwerk/wifi/nsIWifiListener.idl

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     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 #include "nsISupports.idl"
     7 interface nsIWifiAccessPoint;
     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    */
    19   void onChange([array, size_is(aLen)] in nsIWifiAccessPoint accessPoints, in unsigned long aLen);
    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    */
    28   void onError(in nsresult error);
    29 };

mercurial