Bug 859220 - Part 1: Separate mozIccManager from mozMobileConnection (IDL). r=allstars.chh. sr=sicking

This commit is contained in:
Edgar Chen 2013-04-08 15:13:09 +08:00
Родитель 94badf2c3a
Коммит e70764a7cb
3 изменённых файлов: 18 добавлений и 7 удалений

Просмотреть файл

@ -9,6 +9,7 @@ XPIDL_SOURCES += [
'nsIDOMICCCardLockErrorEvent.idl',
'nsIDOMIccManager.idl',
'nsIIccProvider.idl',
'nsINavigatorIccManager.idl',
]
XPIDL_MODULE = 'dom_icc'

Просмотреть файл

@ -0,0 +1,16 @@
/* 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 nsIDOMMozIccManager;
[scriptable, uuid(17a48e10-9c16-11e2-9e96-0800200c9a65)]
interface nsIMozNavigatorIccManager : nsISupports
{
/**
* IccManager provides access to ICC related funcionality.
*/
readonly attribute nsIDOMMozIccManager mozIccManager;
};

Просмотреть файл

@ -10,10 +10,9 @@ interface nsIDOMMozMobileICCInfo;
interface nsIDOMMozMobileConnectionInfo;
interface nsIDOMMozMobileNetworkInfo;
interface nsIDOMMozMobileCellInfo;
interface nsIDOMMozIccManager;
interface nsIDOMMozMobileCFInfo;
[scriptable, builtinclass, uuid(0106c3fe-0064-40f8-b2e1-b8ad37b4c81e)]
[scriptable, builtinclass, uuid(dd590ea0-a711-11e2-9e96-0800200c9a66)]
interface nsIDOMMozMobileConnection : nsIDOMEventTarget
{
const long ICC_SERVICE_CLASS_VOICE = (1 << 0);
@ -71,11 +70,6 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
*/
readonly attribute DOMString networkSelectionMode;
/**
* IccManager provides access to ICC related funcionality.
*/
readonly attribute nsIDOMMozIccManager icc;
/**
* Search for available networks.
*