1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
3 // This component and the accompanying materials are made available |
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
39 // UID's 0x1000401C-0x10004043 Allocated to CntModel |
45 // UID's 0x1000401C-0x10004043 Allocated to CntModel |
40 // UID's 0x1000401C Note value |
46 // UID's 0x1000401C Note value |
41 // UID's 0x1000401D-0x10004033 UID values |
47 // UID's 0x1000401D-0x10004033 UID values |
42 // UID's 0x10004034-6 Birthday/URL/inline |
48 // UID's 0x10004034-6 Birthday/URL/inline |
43 // UID's 0x10274DA4-B7 Assistant/Assistant Tel/Anniversary/Spouse/Children/Class |
49 // UID's 0x10274DA4-B7 Assistant/Assistant Tel/Anniversary/Spouse/Children/Class |
44 // Currently uids 0x10274DA4-B0 are being used and |
50 // Currently uids 0x10274DA4-B2 are being used and |
45 // uids 0x10274DB1-B7 are free and can be used in future |
51 // uids 0x10274DB3-B7 are free and can be used in future |
46 |
52 |
47 #define KUidContactFieldAddressValue 0x1000130C |
53 #define KUidContactFieldAddressValue 0x1000130C |
48 #define KUidContactFieldPostOfficeValue 0x10004DF4 |
54 #define KUidContactFieldPostOfficeValue 0x10004DF4 |
49 #define KUidContactFieldExtendedAddressValue 0x10004DF5 |
55 #define KUidContactFieldExtendedAddressValue 0x10004DF5 |
50 #define KUidContactFieldLocalityValue 0x10004DF6 |
56 #define KUidContactFieldLocalityValue 0x10004DF6 |
91 #define KUidContactFieldAnniversaryValue 0x10274DA5 |
97 #define KUidContactFieldAnniversaryValue 0x10274DA5 |
92 #define KUidContactFieldSpouseValue 0x10274DA6 |
98 #define KUidContactFieldSpouseValue 0x10274DA6 |
93 #define KUidContactFieldChildrenValue 0x10274DA7 |
99 #define KUidContactFieldChildrenValue 0x10274DA7 |
94 #define KUidContactFieldClassValue 0x10274DA8 |
100 #define KUidContactFieldClassValue 0x10274DA8 |
95 #define KUidContactFieldDepartmentNameValue 0x10274DA9 |
101 #define KUidContactFieldDepartmentNameValue 0x10274DA9 |
|
102 #define KUidContactFieldGEOValue 0x10274DB2 |
96 |
103 |
97 |
104 |
98 #define KIntContactFieldVCardMapWORK 0x100039DA |
105 #define KIntContactFieldVCardMapWORK 0x100039DA |
99 #define KIntContactFieldVCardMapHOME 0x100039DB |
106 #define KIntContactFieldVCardMapHOME 0x100039DB |
100 #define KIntContactFieldVCardMapMSG 0x100039DC |
107 #define KIntContactFieldVCardMapMSG 0x100039DC |
176 #define KIntContactFieldVCardMapAnniversary 0x10274DAC |
183 #define KIntContactFieldVCardMapAnniversary 0x10274DAC |
177 #define KIntContactFieldVCardMapSpouse 0x10274DAD |
184 #define KIntContactFieldVCardMapSpouse 0x10274DAD |
178 #define KIntContactFieldVCardMapChildren 0x10274DAE |
185 #define KIntContactFieldVCardMapChildren 0x10274DAE |
179 #define KIntContactFieldVCardMapClass 0x10274DAF |
186 #define KIntContactFieldVCardMapClass 0x10274DAF |
180 #define KIntContactFieldVCardMapDepartment 0x10274DB0 |
187 #define KIntContactFieldVCardMapDepartment 0x10274DB0 |
181 |
188 #define KIntContactFieldVCardMapINTERNET 0x10274DB1 |
182 |
189 |
|
190 /** |
|
191 @publishedAll |
|
192 @released |
|
193 */ |
183 |
194 |
184 #define KStorageTypeText 0 |
195 #define KStorageTypeText 0 |
|
196 |
185 #define KStorageTypeStore 1 |
197 #define KStorageTypeStore 1 |
|
198 |
186 #define KStorageTypeContactItemId 2 |
199 #define KStorageTypeContactItemId 2 |
|
200 |
187 #define KStorageTypeDateTime 3 |
201 #define KStorageTypeDateTime 3 |
188 |
202 |
189 /** |
203 |
190 @internalComponent |
204 /** |
|
205 @publishedAll |
191 @released |
206 @released |
192 */ |
207 */ |
193 enum EContactFieldCategory |
208 enum EContactFieldCategory |
194 { |
209 { |
195 EContactCategoryNone=0, |
210 EContactCategoryNone=0, |
196 EContactCategoryHome=1, |
211 EContactCategoryHome=1, |
197 EContactCategoryWork=2, |
212 EContactCategoryWork=2, |
198 EContactCategoryOther=3 |
213 EContactCategoryOther=3 |
199 }; |
214 }; |
|
215 |
|
216 /** These values should not be used directly. The EContactFieldFlags enum should be used instead. |
|
217 @publishedAll |
|
218 @released |
|
219 */ |
200 |
220 |
201 #define KIntFieldFlagHidden 0x001 |
221 #define KIntFieldFlagHidden 0x001 |
|
222 |
202 #define KIntFieldFlagReadOnly 0x002 |
223 #define KIntFieldFlagReadOnly 0x002 |
|
224 |
203 #define KIntFieldFlagSynchronize 0x004 |
225 #define KIntFieldFlagSynchronize 0x004 |
|
226 |
204 #define KIntFieldFlagDisabled 0x008 |
227 #define KIntFieldFlagDisabled 0x008 |
|
228 |
205 #define KIntFieldFlagFilterable 0x010 |
229 #define KIntFieldFlagFilterable 0x010 |
|
230 |
206 #define KIntFieldFlagFilterable1 0x020 |
231 #define KIntFieldFlagFilterable1 0x020 |
|
232 |
207 #define KIntFieldFlagFilterable2 0x040 |
233 #define KIntFieldFlagFilterable2 0x040 |
|
234 |
208 #define KIntFieldFlagFilterable3 0x080 |
235 #define KIntFieldFlagFilterable3 0x080 |
|
236 |
209 #define KIntFieldFlagFilterable4 0x100 |
237 #define KIntFieldFlagFilterable4 0x100 |
210 |
238 |
211 /** |
239 |
212 @internalComponent |
240 /** |
|
241 @publishedAll |
213 @released |
242 @released |
214 */ |
243 */ |
215 enum EContactFieldFlags |
244 enum EContactFieldFlags |
216 { |
245 { |
217 EContactFieldFlagHidden =KIntFieldFlagHidden, |
246 EContactFieldFlagHidden =KIntFieldFlagHidden, |
222 EContactFieldFlagFilterable1 =KIntFieldFlagFilterable1, |
251 EContactFieldFlagFilterable1 =KIntFieldFlagFilterable1, |
223 EContactFieldFlagFilterable2 =KIntFieldFlagFilterable2, |
252 EContactFieldFlagFilterable2 =KIntFieldFlagFilterable2, |
224 EContactFieldFlagFilterable3 =KIntFieldFlagFilterable3, |
253 EContactFieldFlagFilterable3 =KIntFieldFlagFilterable3, |
225 EContactFieldFlagFilterable4 =KIntFieldFlagFilterable4 |
254 EContactFieldFlagFilterable4 =KIntFieldFlagFilterable4 |
226 }; |
255 }; |
|
256 |
|
257 |
227 |
258 |
228 #endif // __CNTDEF_HRH__ |
259 #endif // __CNTDEF_HRH__ |