Backout rev 149f006c0541. a=backout
[gecko.git] / netwerk / wifi / nsIWifiListener.idl
blobffac02654ee6681f2e978e7ebacd76e4f1fbcc47
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
13 * Called when the list of access points changes.
15 * @param accessPoints An array of nsIWifiAccessPoint representing all
16 * access points in view.
19 void onChange([array, size_is(aLen)] in nsIWifiAccessPoint accessPoints, in unsigned long aLen);
22 * Called when there is a problem with listening to wifi
24 * @param error the error which caused this event. The
25 * error values will be nsresult codes.
28 void onError(in nsresult error);