mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 847820 - Part 1: IDL for exporting contact to SIM. r=allstars.chh. sr=jonas
This commit is contained in:
parent
c1a6b0f050
commit
db627ee6f9
@ -7,8 +7,9 @@
|
||||
|
||||
interface nsIDOMEventListener;
|
||||
interface nsIDOMDOMRequest;
|
||||
interface nsIDOMContact;
|
||||
|
||||
[scriptable, builtinclass, uuid(9d898c66-3485-4cd5-ab8d-92ef2988887b)]
|
||||
[scriptable, builtinclass, uuid(487b1da5-f497-4eb0-8f84-bca7e0ac95cf)]
|
||||
interface nsIDOMMozIccManager : nsIDOMEventTarget
|
||||
{
|
||||
/**
|
||||
@ -274,6 +275,22 @@ interface nsIDOMMozIccManager : nsIDOMEventTarget
|
||||
*/
|
||||
[implicit_jscontext] attribute jsval onstksessionend;
|
||||
|
||||
/**
|
||||
* Update ICC Phonebook contact.
|
||||
*
|
||||
* @param contactType
|
||||
* One of type as below,
|
||||
* - 'adn': Abbreviated Dialling Number
|
||||
* - 'fdn': Fixed Dialling Number
|
||||
* @param contact
|
||||
* The contact will be updated in ICC
|
||||
* @param [optional] pin2
|
||||
* PIN2 is only required for 'fdn'.
|
||||
*/
|
||||
nsIDOMDOMRequest updateContact(in DOMString contactType,
|
||||
in nsIDOMContact contact,
|
||||
[optional] in DOMString pin2);
|
||||
|
||||
// UICC Secure Element Interfaces
|
||||
|
||||
/**
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
interface nsIDOMWindow;
|
||||
interface nsIDOMDOMRequest;
|
||||
interface nsIDOMContact;
|
||||
|
||||
[scriptable, uuid(f383a42b-0961-4bb0-b45e-dbc345d59237)]
|
||||
interface nsIIccListener : nsISupports
|
||||
@ -17,7 +18,7 @@ interface nsIIccListener : nsISupports
|
||||
/**
|
||||
* XPCOM component (in the content process) that provides the ICC information.
|
||||
*/
|
||||
[scriptable, uuid(1bfb62cf-544c-4adb-b91c-c75e5d0dce29)]
|
||||
[scriptable, uuid(c74b434a-fb2a-4e22-a6cd-1ac353e3f4ce)]
|
||||
interface nsIIccProvider : nsISupports
|
||||
{
|
||||
/**
|
||||
@ -39,6 +40,11 @@ interface nsIIccProvider : nsISupports
|
||||
void sendStkEventDownload(in nsIDOMWindow window,
|
||||
in jsval event);
|
||||
|
||||
nsIDOMDOMRequest updateContact(in nsIDOMWindow window,
|
||||
in DOMString contactType,
|
||||
in nsIDOMContact contact,
|
||||
in DOMString pin2);
|
||||
|
||||
/**
|
||||
* Secure Card Icc communication channel
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user