63
|
1 |
/*
|
|
2 |
* Copyright (c) 2005-2007 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
* All rights reserved.
|
|
4 |
* This component and the accompanying materials are made available
|
|
5 |
* under the terms of "Eclipse Public License v1.0"
|
|
6 |
* which accompanies this distribution, and is available
|
|
7 |
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
*
|
|
9 |
* Initial Contributors:
|
|
10 |
* Nokia Corporation - initial contribution.
|
|
11 |
*
|
|
12 |
* Contributors:
|
|
13 |
*
|
|
14 |
* Description:
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
// INCLUDES
|
|
20 |
#include <badef.rh>
|
|
21 |
#include <VPbkFieldType.rh>
|
|
22 |
#include <VPbkFieldType.hrh>
|
|
23 |
#include <VPbkSimCntFieldTypes.hrh>
|
|
24 |
#include "FieldTypeMapping.rh"
|
|
25 |
|
|
26 |
// RESOURCES
|
|
27 |
|
|
28 |
RESOURCE BA_RSS_SIGNATURE { }
|
|
29 |
|
|
30 |
RESOURCE FIELDTYPE_MAPPINGS r_vpbk_versit_field_type_mappings
|
|
31 |
{
|
|
32 |
items =
|
|
33 |
{
|
|
34 |
// SIM name = Last name
|
|
35 |
VERSIT_FIELDTYPE_MAPPING
|
|
36 |
{
|
|
37 |
simFieldId = EVPbkSimName;
|
|
38 |
versitProperty = VBK_FIELD_VERSIT_PROPERTY
|
|
39 |
{
|
|
40 |
name = EVPbkVersitNameN;
|
|
41 |
subField = EVPbkVersitSubFieldFamilyName;
|
|
42 |
};
|
|
43 |
},
|
|
44 |
// USIM second name = reading in japanese variant
|
|
45 |
VERSIT_FIELDTYPE_MAPPING
|
|
46 |
{
|
|
47 |
simFieldId = EVPbkSimReading;
|
|
48 |
versitProperty = VBK_FIELD_VERSIT_PROPERTY
|
|
49 |
{
|
|
50 |
name = EVPbkVersitNameSOUND;
|
|
51 |
subField = EVPbkVersitSubFieldFamilyNamePronunciation;
|
|
52 |
};
|
|
53 |
},
|
|
54 |
// SIM GSM number = general mobile
|
|
55 |
VERSIT_FIELDTYPE_MAPPING
|
|
56 |
{
|
|
57 |
simFieldId = EVPbkSimGsmNumber;
|
|
58 |
versitProperty = VBK_FIELD_VERSIT_PROPERTY
|
|
59 |
{
|
|
60 |
name = EVPbkVersitNameTEL;
|
|
61 |
parameters = { EVPbkVersitParamCELL };
|
|
62 |
};
|
|
63 |
},
|
|
64 |
// USIM additional numbers = general mobile
|
|
65 |
VERSIT_FIELDTYPE_MAPPING
|
|
66 |
{
|
|
67 |
simFieldId = EVPbkSimAdditionalNumber;
|
|
68 |
versitProperty = VBK_FIELD_VERSIT_PROPERTY
|
|
69 |
{
|
|
70 |
name = EVPbkVersitNameTEL;
|
|
71 |
parameters = { EVPbkVersitParamCELL };
|
|
72 |
};
|
|
73 |
},
|
|
74 |
// USIM email = general email
|
|
75 |
VERSIT_FIELDTYPE_MAPPING
|
|
76 |
{
|
|
77 |
simFieldId = EVPbkSimEMailAddress;
|
|
78 |
versitProperty = VBK_FIELD_VERSIT_PROPERTY
|
|
79 |
{
|
|
80 |
name = EVPbkVersitNameEMAIL;
|
|
81 |
parameters =
|
|
82 |
{
|
|
83 |
EVPbkVersitParamINTERNET
|
|
84 |
};
|
|
85 |
};
|
|
86 |
},
|
|
87 |
// USIM second name = nick name in variants other than japan
|
|
88 |
VERSIT_FIELDTYPE_MAPPING
|
|
89 |
{
|
|
90 |
simFieldId = EVPbkSimNickName;
|
|
91 |
versitProperty = VBK_FIELD_VERSIT_PROPERTY
|
|
92 |
{
|
|
93 |
name = EVPbkVersitNameX;
|
|
94 |
extensionName = "X-NICKNAME";
|
|
95 |
};
|
|
96 |
}
|
|
97 |
};
|
|
98 |
}
|
|
99 |
|
|
100 |
// When nickname has removed this is empty, could this be removed?
|
|
101 |
RESOURCE FIELDTYPE_MAPPINGS r_vpbk_nonversit_field_type_mappings
|
|
102 |
{
|
|
103 |
items =
|
|
104 |
{
|
|
105 |
};
|
|
106 |
}
|
|
107 |
|
|
108 |
// End of File
|