2013-06-18 18:48:45 +00:00
|
|
|
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2013-01-25 18:45:16 +00: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,
|
2013-06-18 18:48:45 +00:00
|
|
|
* You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
*/
|
2013-01-25 18:45:16 +00:00
|
|
|
|
2013-06-18 18:48:45 +00:00
|
|
|
[Constructor(DOMString type, optional CFStateChangeEventInit eventInitDict), HeaderFile="GeneratedEventClasses.h"]
|
|
|
|
interface CFStateChangeEvent : Event
|
|
|
|
{
|
|
|
|
readonly attribute boolean success;
|
|
|
|
readonly attribute unsigned short action;
|
|
|
|
readonly attribute unsigned short reason;
|
|
|
|
readonly attribute DOMString? number;
|
|
|
|
readonly attribute unsigned short timeSeconds;
|
|
|
|
readonly attribute unsigned short serviceClass;
|
|
|
|
};
|
|
|
|
|
|
|
|
dictionary CFStateChangeEventInit : EventInit
|
|
|
|
{
|
2013-01-25 18:45:16 +00:00
|
|
|
boolean success = false;
|
2013-06-18 18:48:45 +00:00
|
|
|
unsigned short action = 0;
|
|
|
|
unsigned short reason = 0;
|
|
|
|
DOMString number = "";
|
|
|
|
unsigned short timeSeconds = 0;
|
|
|
|
unsigned short serviceClass = 0;
|
2013-01-25 18:45:16 +00:00
|
|
|
};
|