Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this file, |
michael@0 | 3 | * You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | #include "nsISupports.idl" |
michael@0 | 6 | |
michael@0 | 7 | [scriptable, uuid(dd9f229c-e5a6-453a-8388-950af0ff9918)] |
michael@0 | 8 | interface nsIDOMMozIccInfo : nsISupports |
michael@0 | 9 | { |
michael@0 | 10 | /** |
michael@0 | 11 | * Integrated Circuit Card Type. |
michael@0 | 12 | * |
michael@0 | 13 | * Possible values: "sim", "usim", "ruim". |
michael@0 | 14 | */ |
michael@0 | 15 | readonly attribute DOMString iccType; |
michael@0 | 16 | |
michael@0 | 17 | /** |
michael@0 | 18 | * Integrated Circuit Card Identifier. |
michael@0 | 19 | */ |
michael@0 | 20 | readonly attribute DOMString iccid; |
michael@0 | 21 | |
michael@0 | 22 | /** |
michael@0 | 23 | * Mobile Country Code (MCC) of the subscriber's home network. |
michael@0 | 24 | */ |
michael@0 | 25 | readonly attribute DOMString mcc; |
michael@0 | 26 | |
michael@0 | 27 | /** |
michael@0 | 28 | * Mobile Network Code (MNC) of the subscriber's home network. |
michael@0 | 29 | */ |
michael@0 | 30 | readonly attribute DOMString mnc; |
michael@0 | 31 | |
michael@0 | 32 | /** |
michael@0 | 33 | * Service Provider Name (SPN) of the subscriber's home network. |
michael@0 | 34 | */ |
michael@0 | 35 | readonly attribute DOMString spn; |
michael@0 | 36 | |
michael@0 | 37 | /** |
michael@0 | 38 | * Network name must be a part of displayed carrier name. |
michael@0 | 39 | */ |
michael@0 | 40 | readonly attribute boolean isDisplayNetworkNameRequired; |
michael@0 | 41 | |
michael@0 | 42 | /** |
michael@0 | 43 | * Service provider name must be a part of displayed carrier name. |
michael@0 | 44 | */ |
michael@0 | 45 | readonly attribute boolean isDisplaySpnRequired; |
michael@0 | 46 | }; |
michael@0 | 47 | |
michael@0 | 48 | [scriptable, uuid(3c237e39-7af3-4748-baf4-4a3b6c3e0e66)] |
michael@0 | 49 | interface nsIDOMMozGsmIccInfo : nsIDOMMozIccInfo |
michael@0 | 50 | { |
michael@0 | 51 | /** |
michael@0 | 52 | * Mobile Station ISDN Number (MSISDN) of the subscriber, aka |
michael@0 | 53 | * his phone number. |
michael@0 | 54 | */ |
michael@0 | 55 | readonly attribute DOMString msisdn; |
michael@0 | 56 | }; |
michael@0 | 57 | |
michael@0 | 58 | [scriptable, uuid(7e937d09-4d1d-43c5-96d8-c91396022809)] |
michael@0 | 59 | interface nsIDOMMozCdmaIccInfo : nsIDOMMozIccInfo |
michael@0 | 60 | { |
michael@0 | 61 | /** |
michael@0 | 62 | * Mobile Directory Number (MDN) of the subscriber, aka his phone number. |
michael@0 | 63 | */ |
michael@0 | 64 | readonly attribute DOMString mdn; |
michael@0 | 65 | |
michael@0 | 66 | /** |
michael@0 | 67 | * Preferred Roaming List (PRL) version of the subscriber. |
michael@0 | 68 | */ |
michael@0 | 69 | readonly attribute long prlVersion; |
michael@0 | 70 | }; |