Bumping manifests a=b2g-bump
[gecko.git] / services / mobileid / MobileIdentityUIGlueCommon.jsm
blob5b2956ee0fac9509f20d5d2e83c31e729140587b
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/. */
5 "use strict";
7 this.EXPORTED_SYMBOLS = ["MobileIdentityUIGluePhoneInfo",
8                          "MobileIdentityUIGluePromptResult"];
10 this.MobileIdentityUIGluePhoneInfo = function (aMsisdn, aOperator, aServiceId,
11                                                aIccId, aPrimary) {
12   this.msisdn = aMsisdn;
13   this.operator = aOperator;
14   this.serviceId = aServiceId;
15   this.iccId = aIccId;
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,
25                                                   aServiceId) {
26   this.phoneNumber = aPhoneNumber;
27   this.prefix = aPrefix;
28   this.mcc = aMcc;
29   this.serviceId = aServiceId;
32 this.MobileIdentityUIGluePromptResult.prototype = {};