Bug 926302 - 1/3: B2G DSDS - numRadioInterfaces and default service ids. Interface changes. r=hsinyi

This commit is contained in:
Vicamo Yang 2013-10-24 16:14:50 +08:00
Родитель 3eefa94f91
Коммит dbb2ed7881
4 изменённых файлов: 12 добавлений и 4 удалений

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

@ -12,9 +12,11 @@ interface nsIDOMBlob;
#define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1" #define MMS_SERVICE_CONTRACTID "@mozilla.org/mms/mmsservice;1"
%} %}
[scriptable, uuid(e5ef630a-eab7-425a-ac42-650ef5c4fcef)] [scriptable, uuid(5dc8b3bc-c3a9-45ea-8ee0-7562b0e57257)]
interface nsIMmsService : nsISupports interface nsIMmsService : nsISupports
{ {
readonly attribute unsigned long mmsDefaultServiceId;
void send(in jsval parameters /* MmsParameters */, void send(in jsval parameters /* MmsParameters */,
in nsIMobileMessageCallback request); in nsIMobileMessageCallback request);

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

@ -13,9 +13,11 @@ interface nsIMobileMessageCallback;
#define SMS_SERVICE_CONTRACTID "@mozilla.org/sms/smsservice;1" #define SMS_SERVICE_CONTRACTID "@mozilla.org/sms/smsservice;1"
%} %}
[scriptable, builtinclass, uuid(0f3f75ec-00dd-11e3-87ac-0b1d5c79afdf)] [scriptable, builtinclass, uuid(ec3221fb-2d4a-4ccd-ac64-65c1b2dee5dd)]
interface nsISmsService : nsISupports interface nsISmsService : nsISupports
{ {
readonly attribute unsigned long smsDefaultServiceId;
boolean hasSupport(); boolean hasSupport();
void getSegmentInfoForText(in DOMString text, void getSegmentInfoForText(in DOMString text,

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

@ -118,7 +118,7 @@ interface nsITelephonyListener : nsISupports
* XPCOM component (in the content process) that provides the telephony * XPCOM component (in the content process) that provides the telephony
* information. * information.
*/ */
[scriptable, uuid(effca006-1ca8-47f7-9bab-1323f90a14ec)] [scriptable, uuid(f7680b82-53fc-42a7-9adf-bc0f2726425c)]
interface nsITelephonyProvider : nsISupports interface nsITelephonyProvider : nsISupports
{ {
const unsigned short CALL_STATE_UNKNOWN = 0; const unsigned short CALL_STATE_UNKNOWN = 0;
@ -136,6 +136,8 @@ interface nsITelephonyProvider : nsISupports
const unsigned short NOTIFICATION_REMOTE_HELD = 0; const unsigned short NOTIFICATION_REMOTE_HELD = 0;
const unsigned short NOTIFICATION_REMOTE_RESUMED = 1; const unsigned short NOTIFICATION_REMOTE_RESUMED = 1;
readonly attribute unsigned long defaultServiceId;
/** /**
* Called when a content process registers receiving unsolicited messages from * Called when a content process registers receiving unsolicited messages from
* RadioInterfaceLayer in the chrome process. Only a content process that has * RadioInterfaceLayer in the chrome process. Only a content process that has

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

@ -22,9 +22,11 @@ interface nsIVoicemailListener : nsISupports
* XPCOM component (in the content process) that provides the voicemail * XPCOM component (in the content process) that provides the voicemail
* information. * information.
*/ */
[scriptable, uuid(37bc0991-21a3-4de9-b888-d667fea6c05d)] [scriptable, uuid(38746f3c-f4e3-4804-b900-ba2463b923c8)]
interface nsIVoicemailProvider : nsISupports interface nsIVoicemailProvider : nsISupports
{ {
readonly attribute unsigned long voicemailDefaultServiceId;
/** /**
* Called when a content process registers receiving unsolicited messages from * Called when a content process registers receiving unsolicited messages from
* RadioInterfaceLayer in the chrome process. Only a content process that has * RadioInterfaceLayer in the chrome process. Only a content process that has