michael@0: /* -*- Mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; tab-width: 40 -*- */ michael@0: /* vim: set ts=2 et sw=2 tw=40: */ 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: [Pref="dom.telephony.enabled"] michael@0: interface TelephonyCallGroup : EventTarget { michael@0: readonly attribute CallsList calls; michael@0: michael@0: [Throws] michael@0: void add(TelephonyCall call); michael@0: michael@0: [Throws] michael@0: void add(TelephonyCall call, TelephonyCall secondCall); michael@0: michael@0: [Throws] michael@0: void remove(TelephonyCall call); michael@0: michael@0: [Throws] michael@0: void hold(); michael@0: michael@0: [Throws] michael@0: void resume(); michael@0: michael@0: readonly attribute DOMString state; michael@0: michael@0: attribute EventHandler onstatechange; michael@0: attribute EventHandler onconnected; michael@0: attribute EventHandler onholding; michael@0: attribute EventHandler onheld; michael@0: attribute EventHandler onresuming; michael@0: attribute EventHandler oncallschanged; michael@0: attribute EventHandler onerror; michael@0: };