mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
/* 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;
|
|
|
|
[scriptable, builtinclass, uuid(251252ba-ed8c-47a0-8979-f7652b4d558a)]
|
|
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;
|
|
};
|