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