Bug 961571 - Part 1: IDL changes for adding ims apn type. r=hsinyi

This commit is contained in:
Edgar Chen 2014-02-26 00:07:00 +08:00
parent 4e30604ca7
commit 774271d2b2
2 changed files with 6 additions and 4 deletions

View File

@ -20,11 +20,12 @@ interface nsINetworkInterfaceList : nsISupports
nsINetworkInterface getInterface(in long interfaceIndex);
};
[scriptable, uuid(5be50bcb-bfe9-4742-b7e6-3e9bb4835369)]
[scriptable, uuid(e3cf9355-086e-46e3-bb3d-378bd58d578b)]
interface nsINetworkInterfaceListService : nsISupports
{
const long LIST_NOT_INCLUDE_MMS_INTERFACES = 1;
const long LIST_NOT_INCLUDE_SUPL_INTERFACES = 2;
const long LIST_NOT_INCLUDE_MMS_INTERFACES = (1 << 0);
const long LIST_NOT_INCLUDE_SUPL_INTERFACES = (1 << 1);
const long LIST_NOT_INCLUDE_IMS_INTERFACES = (1 << 2);
/**
* Obtain a list of network interfaces that satisfy the specified condition.

View File

@ -9,7 +9,7 @@ interface nsIWifiTetheringCallback;
/**
* Information about networks that is exposed to network manager API consumers.
*/
[scriptable, uuid(6ff0c978-24e6-4560-b470-143eca6e39b7)]
[scriptable, uuid(4d738144-ac69-48ef-b97e-49cc627fae67)]
interface nsINetworkInterface : nsISupports
{
const long NETWORK_STATE_UNKNOWN = -1;
@ -32,6 +32,7 @@ interface nsINetworkInterface : nsISupports
const long NETWORK_TYPE_MOBILE_MMS = 2;
const long NETWORK_TYPE_MOBILE_SUPL = 3;
const long NETWORK_TYPE_WIFI_P2P = 4;
const long NETWORK_TYPE_MOBILE_IMS = 5;
/**
* Network type. One of the NETWORK_TYPE_* constants.