diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-06 15:53:52 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-06 15:53:52 +0200 |
commit | 941e54654eabed0a3568f7fefe424a45aa02eddb (patch) | |
tree | 49aa02b174c428962d99142d8061267bfcd79e69 /dom/system/gonk/nsIRadioInterfaceLayer.idl | |
parent | ad9ee72dcd7981bc47b3844a224d69fadfdfd8ef (diff) | |
parent | 0daa12376295d5d796256a116eb2a348a3a9273f (diff) | |
download | UXP-941e54654eabed0a3568f7fefe424a45aa02eddb.tar UXP-941e54654eabed0a3568f7fefe424a45aa02eddb.tar.gz UXP-941e54654eabed0a3568f7fefe424a45aa02eddb.tar.lz UXP-941e54654eabed0a3568f7fefe424a45aa02eddb.tar.xz UXP-941e54654eabed0a3568f7fefe424a45aa02eddb.zip |
Merge branch 'master' of https://github.com/MoonchildProductions/UXP into _testBranch_test_1
Diffstat (limited to 'dom/system/gonk/nsIRadioInterfaceLayer.idl')
-rw-r--r-- | dom/system/gonk/nsIRadioInterfaceLayer.idl | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/dom/system/gonk/nsIRadioInterfaceLayer.idl b/dom/system/gonk/nsIRadioInterfaceLayer.idl deleted file mode 100644 index 168fe3894..000000000 --- a/dom/system/gonk/nsIRadioInterfaceLayer.idl +++ /dev/null @@ -1,53 +0,0 @@ -/* 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 "nsISupports.idl" - -interface nsIIccInfo; -interface nsIMobileConnectionInfo; -interface nsIMobileMessageCallback; - -[scriptable, function, uuid(3bc96351-53b0-47a1-a888-c74c64b60f25)] -interface nsIRilSendWorkerMessageCallback : nsISupports -{ - boolean handleResponse(in jsval response); -}; - -[scriptable, uuid(1a3ef88a-e4d1-11e4-8512-176220f2b32b)] -interface nsIRadioInterface : nsISupports -{ - /** - * PDP APIs - * - * @param networkType - * Mobile network type, that is, nsINetworkInterface.NETWORK_TYPE_MOBILE - * or one of the nsINetworkInterface.NETWORK_TYPE_MOBILE_* values. - */ - void setupDataCallByType(in long networkType); - void deactivateDataCallByType(in long networkType); - long getDataCallStateByType(in long networkType); - - void updateRILNetworkInterface(); - - void sendWorkerMessage(in DOMString type, - [optional] in jsval message, - [optional] in nsIRilSendWorkerMessageCallback callback); -}; - -%{C++ -#define NS_RADIOINTERFACELAYER_CID \ - { 0x2d831c8d, 0x6017, 0x435b, \ - { 0xa8, 0x0c, 0xe5, 0xd4, 0x22, 0x81, 0x0c, 0xea } } -#define NS_RADIOINTERFACELAYER_CONTRACTID "@mozilla.org/ril;1" -%} - -[scriptable, uuid(09730e0d-75bb-4f21-8540-062a2eadc8ff)] -interface nsIRadioInterfaceLayer : nsISupports -{ - readonly attribute unsigned long numRadioInterfaces; - - nsIRadioInterface getRadioInterface(in unsigned long clientId); - - void setMicrophoneMuted(in boolean muted); -}; |