dom/telephony/nsIGonkTelephonyProvider.idl

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/telephony/nsIGonkTelephonyProvider.idl	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +/* -*- Mode: idl; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
     1.5 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.6 + * License, v. 2.0. If a copy of the MPL was not distributed with this file,
     1.7 + * You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.8 +
     1.9 +#include "nsITelephonyProvider.idl"
    1.10 +
    1.11 +%{C++
    1.12 +#define GONK_TELEPHONY_PROVIDER_CONTRACTID \
    1.13 +        "@mozilla.org/telephony/gonktelephonyprovider;1"
    1.14 +%}
    1.15 +
    1.16 +[scriptable, uuid(9d884482-90fc-4050-a4b1-1a370afe7a35)]
    1.17 +interface nsIGonkTelephonyProvider : nsITelephonyProvider
    1.18 +{
    1.19 +  void notifyCallDisconnected(in unsigned long clientId, in jsval call);
    1.20 +
    1.21 +  void notifyCallRing();
    1.22 +
    1.23 +  void notifyCallStateChanged(in unsigned long clientId, in jsval call,
    1.24 +                              [optional] in boolean skipStateConversion);
    1.25 +
    1.26 +  void notifyCdmaCallWaiting(in unsigned long clientId, in AString number);
    1.27 +
    1.28 +  void notifySupplementaryService(in unsigned long clientId, in long callIndex,
    1.29 +                                  in AString notification);
    1.30 +
    1.31 +  void notifyConferenceCallStateChanged(in short state);
    1.32 +};

mercurial