gecko-dev/dom/telephony/nsIDOMCallEvent.idl

25 lines
842 B
Plaintext

/* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */
/* vim: set ts=2 et sw=2 tw=40: */
/* 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 nsIDOMTelephonyCall;
[scriptable, builtinclass, uuid(476aacec-661e-44ec-80b4-4b7292b927b5)]
interface nsIDOMCallEvent : nsIDOMEvent
{
readonly attribute nsIDOMTelephonyCall call;
[noscript] void initCallEvent(in DOMString aType,
in boolean aCanBubble,
in boolean aCancelable,
in nsIDOMTelephonyCall aCall);
};
dictionary CallEventInit : EventInit
{
nsIDOMTelephonyCall call;
};