1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/wifi/nsIDOMMozWifiStatusChangeEvent.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +#include "nsIDOMEvent.idl" 1.9 + 1.10 +interface nsIVariant; 1.11 + 1.12 +[scriptable, builtinclass, uuid(251252ba-ed8c-47a0-8979-f7652b4d558a)] 1.13 +interface nsIDOMMozWifiStatusChangeEvent : nsIDOMEvent 1.14 +{ 1.15 + /** 1.16 + * Network object with a SSID field describing the network affected by 1.17 + * this change. This might be null. 1.18 + */ 1.19 + readonly attribute nsIVariant network; 1.20 + 1.21 + /** 1.22 + * String describing the current status of the wifi manager. See above for 1.23 + * the possible values. 1.24 + */ 1.25 + readonly attribute DOMString status; 1.26 + 1.27 + [noscript] void initMozWifiStatusChangeEvent(in DOMString aType, 1.28 + in boolean aCanBubble, 1.29 + in boolean aCancelable, 1.30 + in nsIVariant aNetwork, 1.31 + in DOMString aStatus); 1.32 +};