|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #if !defined(__CNTDEF_HRH__) |
|
17 #define __CNTDEF_HRH__ |
|
18 |
|
19 // contact item uids |
|
20 #define KUidContactCardValue 0x10001309 |
|
21 #define KUidContactGroupValue 0x1000130A |
|
22 #define KUidContactOwnCardValue 0x10004F95 |
|
23 #define KUidContactICCEntryValue 0x101F4A6F |
|
24 #define KUidContactTemplateValue 0x1000130B |
|
25 #define KUidContactCardTemplateValue 0x10004FF1 |
|
26 |
|
27 // speed dial uids |
|
28 #define KUidSpeedDialOneValue 0x100067C8 |
|
29 #define KUidSpeedDialTwoValue 0x100067C9 |
|
30 #define KUidSpeedDialThreeValue 0x100067Ca |
|
31 #define KUidSpeedDialFourValue 0x100067Cb |
|
32 #define KUidSpeedDialFiveValue 0x100067Cc |
|
33 #define KUidSpeedDialSixValue 0x100067Cd |
|
34 #define KUidSpeedDialSevenValue 0x100067Ce |
|
35 #define KUidSpeedDialEightValue 0x100067Cf |
|
36 #define KUidSpeedDialNineValue 0x100067d0 |
|
37 |
|
38 |
|
39 // UID's 0x1000401C-0x10004043 Allocated to CntModel |
|
40 // UID's 0x1000401C Note value |
|
41 // UID's 0x1000401D-0x10004033 UID values |
|
42 // UID's 0x10004034-6 Birthday/URL/inline |
|
43 // UID's 0x10274DA4-B7 Assistant/Assistant Tel/Anniversary/Spouse/Children/Class |
|
44 // Currently uids 0x10274DA4-B2 are being used and |
|
45 // uids 0x10274DB3-B7 are free and can be used in future |
|
46 |
|
47 #define KUidContactFieldAddressValue 0x1000130C |
|
48 #define KUidContactFieldPostOfficeValue 0x10004DF4 |
|
49 #define KUidContactFieldExtendedAddressValue 0x10004DF5 |
|
50 #define KUidContactFieldLocalityValue 0x10004DF6 |
|
51 #define KUidContactFieldRegionValue 0x10004DF7 |
|
52 #define KUidContactFieldPostCodeValue 0x10004DF8 |
|
53 #define KUidContactFieldCountryValue 0x10004DF9 |
|
54 |
|
55 #define KUidContactFieldCompanyNameValue 0x1000130D |
|
56 #define KUidContactFieldCompanyNamePronunciationValue 0x10200BA8 |
|
57 #define KUidContactFieldPhoneNumberValue 0x1000130E |
|
58 #define KUidContactFieldGivenNameValue 0x1000137C |
|
59 #define KUidContactFieldFamilyNameValue 0x1000137D |
|
60 #define KUidContactFieldGivenNamePronunciationValue 0x10200BA9 |
|
61 #define KUidContactFieldFamilyNamePronunciationValue 0x10200BAA |
|
62 |
|
63 #define KUidContactFieldAdditionalNameValue 0x1000178A |
|
64 #define KUidContactFieldSuffixNameValue 0x1000178B |
|
65 #define KUidContactFieldPrefixNameValue 0x1000178C |
|
66 #define KUidContactFieldHiddenValue 0x1000178D |
|
67 #define KUidContactFieldEMailValue 0x1000178E |
|
68 #define KUidContactFieldMsgValue 0x1000178F |
|
69 #define KUidContactFieldSmsValue 0x10001790 |
|
70 #define KUidContactFieldFaxValue 0x10001791 |
|
71 |
|
72 #define KUidContactFieldDefinedTextValue 0x10001792 |
|
73 #define KUidContactFieldNoteValue 0x1000401C |
|
74 #define KUidContactFieldBirthdayValue 0x10004034 |
|
75 #define KUidContactFieldUrlValue 0x10004035 |
|
76 #define KUidContactFieldStorageInlineValue 0x10004036 |
|
77 #define KUidContactFieldTemplateLabelValue 0x10005780 |
|
78 #define KUidContactFieldPictureValue 0x10005DD1 |
|
79 #define KUidContactFieldRingToneValue 0x10006517 |
|
80 #define KUidContactFieldDTMFValue 0x10006518 |
|
81 #define KUidContactsVoiceDialFieldValue 0x10006646 |
|
82 #define KUidContactFieldNoneValue 0x0 |
|
83 #define KUidContactFieldJobTitleValue 0x10009398 |
|
84 #define KUidContactFieldICCSlotValue 0x101F4E0F |
|
85 #define KUidContactFieldICCPhonebookValue 0x101F7583 |
|
86 #define KUidContactFieldICCGroupValue 0x101F81B9 |
|
87 #define KUidContactFieldIMAddressValue 0x101F6102 |
|
88 #define KUidContactFieldSecondNameValue 0x101FD957 |
|
89 #define KUidContactFieldSIPIDValue 0x10204BB0 |
|
90 #define KUidContactFieldAssistantValue 0x10274DA4 |
|
91 #define KUidContactFieldAnniversaryValue 0x10274DA5 |
|
92 #define KUidContactFieldSpouseValue 0x10274DA6 |
|
93 #define KUidContactFieldChildrenValue 0x10274DA7 |
|
94 #define KUidContactFieldClassValue 0x10274DA8 |
|
95 #define KUidContactFieldDepartmentNameValue 0x10274DA9 |
|
96 #define KUidContactFieldGEOValue 0x10274DB2 |
|
97 |
|
98 |
|
99 #define KIntContactFieldVCardMapWORK 0x100039DA |
|
100 #define KIntContactFieldVCardMapHOME 0x100039DB |
|
101 #define KIntContactFieldVCardMapMSG 0x100039DC |
|
102 #define KIntContactFieldVCardMapVOICE 0x100039DD |
|
103 #define KIntContactFieldVCardMapFAX 0x100039DE |
|
104 #define KIntContactFieldVCardMapPREF 0x10003E70 |
|
105 #define KIntContactFieldVCardMapCELL 0x10003E71 |
|
106 #define KIntContactFieldVCardMapPAGER 0x10003E72 |
|
107 #define KIntContactFieldVCardMapBBS 0x100039D5 |
|
108 #define KIntContactFieldVCardMapMODEM 0x100039D6 |
|
109 #define KIntContactFieldVCardMapCAR 0x100039D7 |
|
110 #define KIntContactFieldVCardMapISDN 0x100039D8 |
|
111 #define KIntContactFieldVCardMapVIDEO 0x100039D9 |
|
112 #define KIntContactFieldVCardMapDOM 0x10003E80 |
|
113 |
|
114 #define KIntContactFieldVCardMapADR 0x1000401D // now street only |
|
115 #define KIntContactFieldVCardMapPOSTOFFICE 0x10004DEA |
|
116 #define KIntContactFieldVCardMapEXTENDEDADR 0x10004DEB |
|
117 #define KIntContactFieldVCardMapLOCALITY 0x10004DEC |
|
118 #define KIntContactFieldVCardMapREGION 0x10004DED |
|
119 #define KIntContactFieldVCardMapPOSTCODE 0x10004DEE |
|
120 #define KIntContactFieldVCardMapCOUNTRY 0x10004DEF |
|
121 #define KIntContactFieldVCardMapAGENT 0x1000401E |
|
122 #define KIntContactFieldVCardMapBDAY 0x1000401F |
|
123 #define KIntContactFieldVCardMapEMAILINTERNET 0x10004020 |
|
124 #define KIntContactFieldVCardMapGEO 0x10004021 |
|
125 #define KIntContactFieldVCardMapLABEL 0x10004022 |
|
126 #define KIntContactFieldVCardMapLOGO 0x10004023 |
|
127 #define KIntContactFieldVCardMapMAILER 0x10004024 |
|
128 #define KIntContactFieldVCardMapNOTE 0x10004025 |
|
129 #define KIntContactFieldVCardMapORG 0x10004026 |
|
130 #define KIntContactFieldVCardMapORGPronunciation 0x102015AB |
|
131 #define KIntContactFieldVCardMapPHOTO 0x10004027 |
|
132 #define KIntContactFieldVCardMapROLE 0x10004028 |
|
133 #define KIntContactFieldVCardMapSOUND 0x10004029 |
|
134 #define KIntContactFieldVCardMapTEL 0x1000402A |
|
135 #define KIntContactFieldVCardMapTELFAX 0x1000402B |
|
136 #define KIntContactFieldVCardMapTITLE 0x1000402C |
|
137 #define KIntContactFieldVCardMapURL 0x1000402D |
|
138 #define KIntContactFieldVCardMapUnusedN 0x1000402E |
|
139 #define KIntContactFieldVCardMapUnusedFN 0x1000402F |
|
140 #define KIntContactFieldVCardMapNotRequired 0x10004030 |
|
141 #define KIntContactFieldVCardMapUnknownXDash 0x10004031 |
|
142 #define KIntContactFieldVCardMapUnknown 0x10004032 |
|
143 #define KIntContactFieldVCardMapUID 0x10004033 |
|
144 #define KIntContactFieldVCardMapINTL 0x10005DBE |
|
145 #define KIntContactFieldVCardMapPOSTAL 0x10005DBF |
|
146 #define KIntContactFieldVCardMapPARCEL 0x10005DC0 |
|
147 #define KIntContactFieldVCardMapGIF 0x10005DC1 |
|
148 #define KIntContactFieldVCardMapCGM 0x10005DC2 |
|
149 #define KIntContactFieldVCardMapWMF 0x10005DC3 |
|
150 #define KIntContactFieldVCardMapBMP 0x10005DC4 |
|
151 #define KIntContactFieldVCardMapMET 0x10005DC5 |
|
152 #define KIntContactFieldVCardMapPMB 0x10005DC6 |
|
153 #define KIntContactFieldVCardMapDIB 0x10005DC7 |
|
154 #define KIntContactFieldVCardMapPICT 0x10005DC8 |
|
155 #define KIntContactFieldVCardMapTIFF 0x10005DC9 |
|
156 #define KIntContactFieldVCardMapPDF 0x10005DCA |
|
157 #define KIntContactFieldVCardMapPS 0x10005DCB |
|
158 #define KIntContactFieldVCardMapJPEG 0x10005DCC |
|
159 #define KIntContactFieldVCardMapMPEG 0x10005DCD |
|
160 #define KIntContactFieldVCardMapMPEG2 0x10005DCE |
|
161 #define KIntContactFieldVCardMapAVI 0x10005DCF |
|
162 #define KIntContactFieldVCardMapQTIME 0x10005DD0 |
|
163 #define KIntContactFieldVCardMapTZ 0x10006519 |
|
164 #define KIntContactFieldVCardMapKEY 0x1000651A |
|
165 |
|
166 #define KIntContactFieldVCardMapX509 0x1000654E |
|
167 #define KIntContactFieldVCardMapPGP 0x1000654F |
|
168 #define KIntContactFieldVCardMapSMIME 0x10006550 |
|
169 #define KIntContactFieldVCardMapWV 0x101FA9BF // Wireless Village Instant Messaging Address Qualifier |
|
170 #define KIntContactFieldVCardMapSECONDNAME 0x101FD9B7 |
|
171 #define KIntContactFieldVCardMapSIPID 0x10204BB1 |
|
172 #define KIntContactFieldVCardMapPOC 0x10204FC8 |
|
173 #define KIntContactFieldVCardMapSWIS 0x10204FC9 |
|
174 #define KIntContactFieldVCardMapVOIP 0x10204FCA |
|
175 #define KIntContactFieldVCardMapAssistant 0x10274DAA |
|
176 #define KIntContactFieldVCardMapAssistantTel 0x10274DAB |
|
177 #define KIntContactFieldVCardMapAnniversary 0x10274DAC |
|
178 #define KIntContactFieldVCardMapSpouse 0x10274DAD |
|
179 #define KIntContactFieldVCardMapChildren 0x10274DAE |
|
180 #define KIntContactFieldVCardMapClass 0x10274DAF |
|
181 #define KIntContactFieldVCardMapDepartment 0x10274DB0 |
|
182 #define KIntContactFieldVCardMapINTERNET 0x10274DB1 |
|
183 |
|
184 |
|
185 #define KStorageTypeText 0 |
|
186 #define KStorageTypeStore 1 |
|
187 #define KStorageTypeContactItemId 2 |
|
188 #define KStorageTypeDateTime 3 |
|
189 |
|
190 /** |
|
191 @internalComponent |
|
192 @released |
|
193 */ |
|
194 enum EContactFieldCategory |
|
195 { |
|
196 EContactCategoryNone=0, |
|
197 EContactCategoryHome=1, |
|
198 EContactCategoryWork=2, |
|
199 EContactCategoryOther=3 |
|
200 }; |
|
201 |
|
202 #define KIntFieldFlagHidden 0x001 |
|
203 #define KIntFieldFlagReadOnly 0x002 |
|
204 #define KIntFieldFlagSynchronize 0x004 |
|
205 #define KIntFieldFlagDisabled 0x008 |
|
206 #define KIntFieldFlagFilterable 0x010 |
|
207 #define KIntFieldFlagFilterable1 0x020 |
|
208 #define KIntFieldFlagFilterable2 0x040 |
|
209 #define KIntFieldFlagFilterable3 0x080 |
|
210 #define KIntFieldFlagFilterable4 0x100 |
|
211 |
|
212 /** |
|
213 @internalComponent |
|
214 @released |
|
215 */ |
|
216 enum EContactFieldFlags |
|
217 { |
|
218 EContactFieldFlagHidden =KIntFieldFlagHidden, |
|
219 EContactFieldFlagReadOnly =KIntFieldFlagReadOnly, |
|
220 EContactFieldFlagSynchronize =KIntFieldFlagSynchronize, |
|
221 EContactFieldFlagDisabled =KIntFieldFlagDisabled, |
|
222 EContactFieldFlagFilterable =KIntFieldFlagFilterable, |
|
223 EContactFieldFlagFilterable1 =KIntFieldFlagFilterable1, |
|
224 EContactFieldFlagFilterable2 =KIntFieldFlagFilterable2, |
|
225 EContactFieldFlagFilterable3 =KIntFieldFlagFilterable3, |
|
226 EContactFieldFlagFilterable4 =KIntFieldFlagFilterable4 |
|
227 }; |
|
228 |
|
229 #endif // __CNTDEF_HRH__ |