author Bas Schouten <>
Mon, 11 Nov 2013 12:42:07 +1300
changeset 155112 f2e964f107992348465e513b95f604b7732a8345
parent 153093 5ac189493e82c31f4359802755de0e9361047a0a
child 211471 48b004974cd2d0bbf117bf8a7bbe74d41253ec8a
permissions -rw-r--r--
Bug 939049 - Part 2: Add generic ComputeLength code for backends with no such functionality. r=jrmuizel

/* -*- 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 */

interface TelephonyCallGroup : EventTarget {
  readonly attribute CallsList calls;

  void add(TelephonyCall call);

  void add(TelephonyCall call, TelephonyCall secondCall);

  void remove(TelephonyCall call);

  void hold();

  void resume();

  readonly attribute DOMString state;

  attribute EventHandler onstatechange;
  attribute EventHandler onconnected;
  attribute EventHandler onholding;
  attribute EventHandler onheld;
  attribute EventHandler onresuming;
  attribute EventHandler oncallschanged;
  attribute EventHandler onerror;