Rollup of bug 786631: Get processes with non-default permissions on the prelaunch...
[gecko.git] / netwerk / wifi / nsIWifiListener.idl
blob7b382f466ce460d4cf93f562efbd7f481f9603da
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"
6 #include "nsIArray.idl"
8 #include "nsIWifiAccessPoint.idl"
10 [scriptable, uuid(BCD4BEDE-F4A5-4A62-9071-D7A60174E376)]
11 interface nsIWifiListener : nsISupports
14 * Called when the list of access points changes.
16 * @param accessPoints An array of nsIWifiAccessPoint representing all
17 * access points in view.
20 void onChange([array, size_is(aLen)] in nsIWifiAccessPoint accessPoints, in unsigned long aLen);
23 * Called when there is a problem with listening to wifi
25 * @param error the error which caused this event. The
26 * error values will be nsresult codes.
29 void onError(in nsresult error);