2012-10-22 02:17:18 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "nsIDOMEvent.idl"
|
|
|
|
|
|
|
|
interface nsIVariant;
|
|
|
|
|
2012-12-22 00:18:08 -08:00
|
|
|
[scriptable, builtinclass, uuid(251252ba-ed8c-47a0-8979-f7652b4d558a)]
|
2012-10-22 02:17:18 -07:00
|
|
|
interface nsIDOMMozWifiStatusChangeEvent : nsIDOMEvent
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Network object with a SSID field describing the network affected by
|
|
|
|
* this change. This might be null.
|
|
|
|
*/
|
|
|
|
readonly attribute nsIVariant network;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* String describing the current status of the wifi manager. See above for
|
|
|
|
* the possible values.
|
|
|
|
*/
|
|
|
|
readonly attribute DOMString status;
|
|
|
|
|
|
|
|
[noscript] void initMozWifiStatusChangeEvent(in DOMString aType,
|
|
|
|
in boolean aCanBubble,
|
|
|
|
in boolean aCancelable,
|
|
|
|
in nsIVariant aNetwork,
|
|
|
|
in DOMString aStatus);
|
|
|
|
};
|
|
|
|
|
|
|
|
dictionary MozWifiStatusChangeEventInit : EventInit
|
|
|
|
{
|
|
|
|
nsIVariant network;
|
|
|
|
DOMString status;
|
|
|
|
};
|