mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 782603 - Part 1: MCC/MNC codes DOM API. r=marshall_law
This commit is contained in:
parent
490d7f4521
commit
73f53f8445
@ -6,12 +6,13 @@
|
||||
|
||||
interface nsIDOMEventListener;
|
||||
interface nsIDOMDOMRequest;
|
||||
interface nsIDOMMozMobileICCInfo;
|
||||
interface nsIDOMMozMobileConnectionInfo;
|
||||
interface nsIDOMMozMobileNetworkInfo;
|
||||
interface nsIDOMMozMobileCellInfo;
|
||||
interface nsIDOMMozIccManager;
|
||||
|
||||
[scriptable, builtinclass, uuid(fda3bb30-3259-4ba7-8cff-c486c30821a4)]
|
||||
[scriptable, builtinclass, uuid(d9009d90-a4b3-44fd-a592-42b09f330fe5)]
|
||||
interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
{
|
||||
/**
|
||||
@ -22,6 +23,11 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
*/
|
||||
readonly attribute DOMString cardState;
|
||||
|
||||
/**
|
||||
* Information stored in the device's ICC card.
|
||||
*/
|
||||
readonly attribute nsIDOMMozMobileICCInfo iccInfo;
|
||||
|
||||
/**
|
||||
* Information about the voice connection.
|
||||
*/
|
||||
@ -210,6 +216,12 @@ interface nsIDOMMozMobileConnection : nsIDOMEventTarget
|
||||
*/
|
||||
[implicit_jscontext] attribute jsval oncardstatechange;
|
||||
|
||||
/**
|
||||
* The 'iccinfochange' event is notified whenever the icc info object
|
||||
* changes.
|
||||
*/
|
||||
[implicit_jscontext] attribute jsval oniccinfochange;
|
||||
|
||||
/**
|
||||
* The 'voicechange' event is notified whenever the voice connection object
|
||||
* changes.
|
||||
@ -334,3 +346,17 @@ interface nsIDOMMozMobileCellInfo: nsISupports
|
||||
*/
|
||||
readonly attribute unsigned long gsmCellId;
|
||||
};
|
||||
|
||||
[scriptable, uuid(109c1117-1199-47aa-aad2-ea9f456220fa)]
|
||||
interface nsIDOMMozMobileICCInfo : nsISupports
|
||||
{
|
||||
/**
|
||||
* Mobile Country Code (MCC) of the subscriber's home network.
|
||||
*/
|
||||
readonly attribute unsigned short mcc;
|
||||
|
||||
/**
|
||||
* Mobile Network Code (MNC) of the subscriber's home network.
|
||||
*/
|
||||
readonly attribute unsigned short mnc;
|
||||
};
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
#include "nsISupports.idl"
|
||||
|
||||
interface nsIDOMMozMobileICCInfo;
|
||||
interface nsIDOMMozMobileConnectionInfo;
|
||||
interface nsIDOMMozMobileNetworkInfo;
|
||||
interface nsIDOMDOMRequest;
|
||||
@ -13,10 +14,11 @@ interface nsIDOMWindow;
|
||||
* XPCOM component (in the content process) that provides the mobile
|
||||
* network information.
|
||||
*/
|
||||
[scriptable, uuid(fb3fac34-c1c2-45a9-ad18-a7af0f7997c9)]
|
||||
[scriptable, uuid(63787ba1-5091-450b-8810-d321a8b4f77a)]
|
||||
interface nsIMobileConnectionProvider : nsISupports
|
||||
{
|
||||
readonly attribute DOMString cardState;
|
||||
readonly attribute nsIDOMMozMobileICCInfo iccInfo;
|
||||
readonly attribute nsIDOMMozMobileConnectionInfo voiceConnectionInfo;
|
||||
readonly attribute nsIDOMMozMobileConnectionInfo dataConnectionInfo;
|
||||
readonly attribute DOMString networkSelectionMode;
|
||||
|
Loading…
Reference in New Issue
Block a user