1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this file,
3 * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 this.EXPORTED_SYMBOLS = ["MobileIdentityUIGluePhoneInfo",
8 "MobileIdentityUIGluePromptResult"];
10 this.MobileIdentityUIGluePhoneInfo = function (aMsisdn, aOperator, aServiceId,
12 this.msisdn = aMsisdn;
13 this.operator = aOperator;
14 this.serviceId = aServiceId;
16 // A phone number is considered "external" when it doesn't or we don't know
17 // if it does belong to any of the device SIM cards.
18 this.external = !!aIccId;
19 this.primary = aPrimary;
22 this.MobileIdentityUIGluePhoneInfo.prototype = {};
24 this.MobileIdentityUIGluePromptResult = function (aPhoneNumber, aPrefix, aMcc,
26 this.phoneNumber = aPhoneNumber;
27 this.prefix = aPrefix;
29 this.serviceId = aServiceId;
32 this.MobileIdentityUIGluePromptResult.prototype = {};