2014-12-31 05:52:25 +03:00
|
|
|
/* 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 "nsIIccService.idl"
|
|
|
|
|
2015-01-13 13:03:44 +03:00
|
|
|
%{C++
|
|
|
|
#define GONK_ICC_SERVICE_CONTRACTID \
|
|
|
|
"@mozilla.org/icc/gonkiccservice;1"
|
|
|
|
%}
|
|
|
|
|
2015-04-27 11:01:56 +03:00
|
|
|
[scriptable, uuid(cdcdd800-ef24-11e4-99e7-1f0f5f2576c5)]
|
2014-12-31 05:52:25 +03:00
|
|
|
interface nsIGonkIccService : nsIIccService
|
|
|
|
{
|
2015-04-27 11:01:56 +03:00
|
|
|
void notifyStkCommand(in unsigned long aServiceId, in nsIStkProactiveCmd aStkcommand);
|
|
|
|
void notifyStkSessionEnd(in unsigned long aServiceId);
|
2014-12-31 05:52:25 +03:00
|
|
|
void notifyCardStateChanged(in unsigned long aServiceId, in unsigned long aCardState);
|
|
|
|
void notifyIccInfoChanged(in unsigned long aServiceId, in jsval aIccInfo);
|
|
|
|
void notifyImsiChanged(in unsigned long aServiceId, in DOMString aImsi);
|
|
|
|
};
|