|
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 // CNTMODEL.RSS |
|
15 // The default template resource |
|
16 // |
|
17 // |
|
18 |
|
19 // BOTH THESE HEADERS NEED TO BE PUBLIC |
|
20 // |
|
21 |
|
22 |
|
23 #include "cntmodel.rls" |
|
24 #include <cntdef.hrh> // as existing version, but see below |
|
25 #include <cntmodel.rh> |
|
26 |
|
27 |
|
28 // |
|
29 // There are two ways of defining custom filterable fields. The two methods cannot be mixed. |
|
30 // |
|
31 // Option 1. uses a single flag (KIntFieldFlagFilterable) to define up to four custom filterable fields. |
|
32 // The order of priority of the fields is the order in which they are defined in an rss file. |
|
33 // |
|
34 // Option 2.uses four flags to define up to four custom filterable fields. KIntFieldFlagFilterable1 defines the highest priority |
|
35 // field and KIntFieldFlagFilterable4 defines the lowest priority one. The order in which the fields appear in an rss file |
|
36 // is unimportant. |
|
37 // In total, the filterable fields must define a series starting at KIntFieldFlagFilterable1 and without gaps (e.g. it is possible |
|
38 // to define fields with KIntFieldFlagFilterable3, KIntFieldFlagFilterable1 and KIntFieldFlagFilterable2, but illegal |
|
39 // to define fields with KIntFieldFlagFilterable1, KIntFieldFlagFilterable4 and KIntFieldFlagFilterable3). |
|
40 // NOTE: see STRING_r_cntui_new_field_defns52 and STRING_r_cntui_new_field_defns51 below. |
|
41 // |
|
42 |
|
43 // These field type UIDs are used in testing of the custom filterable fields only. |
|
44 // Licensees should register new UIDs for their own filterable fields. |
|
45 |
|
46 #define KUidContactFieldCustom1Value 0x101FD209 |
|
47 #define KUidContactFieldCustom2Value 0x101FD20A |
|
48 |
|
49 // |
|
50 // FROM EIKDEF.RH - avoids CntModel requiring Eikon |
|
51 // |
|
52 STRUCT RSS_SIGNATURE |
|
53 { |
|
54 LONG signature; // EEikResourceSignatureValue;=4 |
|
55 SRLINK self; |
|
56 } |
|
57 |
|
58 STRUCT ARRAY |
|
59 { |
|
60 STRUCT items[]; |
|
61 } |
|
62 |
|
63 RESOURCE RSS_SIGNATURE { } |
|
64 |
|
65 // |
|
66 // The template data |
|
67 // |
|
68 RESOURCE ARRAY r_cntui_new_field_defns |
|
69 { |
|
70 items= |
|
71 { |
|
72 // home or personal jobbies |
|
73 FIELD |
|
74 { |
|
75 fieldStorageType=KStorageTypeText; |
|
76 contactFieldType=KUidContactFieldPrefixNameValue; |
|
77 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
78 category=EContactCategoryHome; |
|
79 fieldName=STRING_r_cntui_new_field_defns1; |
|
80 flags=EContactFieldFlagDisabled; |
|
81 }, |
|
82 FIELD |
|
83 { |
|
84 fieldStorageType=KStorageTypeText; |
|
85 contactFieldType=KUidContactFieldGivenNameValue; |
|
86 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
87 category=EContactCategoryHome; |
|
88 fieldName=STRING_r_cntui_new_field_defns2; |
|
89 }, |
|
90 FIELD |
|
91 { |
|
92 fieldStorageType=KStorageTypeText; |
|
93 contactFieldType=KUidContactFieldAdditionalNameValue; |
|
94 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
95 category=EContactCategoryHome; |
|
96 fieldName=STRING_r_cntui_new_field_defns3; |
|
97 flags=EContactFieldFlagDisabled; |
|
98 }, |
|
99 FIELD |
|
100 { |
|
101 fieldStorageType=KStorageTypeText; |
|
102 contactFieldType=KUidContactFieldFamilyNameValue; |
|
103 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
104 category=EContactCategoryHome; |
|
105 fieldName=STRING_r_cntui_new_field_defns4; |
|
106 }, |
|
107 FIELD |
|
108 { |
|
109 fieldStorageType=KStorageTypeText; |
|
110 contactFieldType=KUidContactFieldSuffixNameValue; |
|
111 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
112 category=EContactCategoryHome; |
|
113 fieldName=STRING_r_cntui_new_field_defns5; |
|
114 flags=EContactFieldFlagDisabled; |
|
115 }, |
|
116 FIELD |
|
117 { |
|
118 fieldStorageType=KStorageTypeText; |
|
119 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
120 vCardMapping=KIntContactFieldVCardMapTEL; |
|
121 extraMapping= |
|
122 { |
|
123 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
124 MAPPING { mapping=KIntContactFieldVCardMapVOICE; }, |
|
125 MAPPING { mapping=KIntContactFieldVCardMapCELL; } |
|
126 }; |
|
127 category=EContactCategoryHome; |
|
128 fieldName=STRING_r_cntui_new_field_defns6; |
|
129 }, |
|
130 FIELD |
|
131 { |
|
132 fieldStorageType=KStorageTypeText; |
|
133 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
134 vCardMapping=KIntContactFieldVCardMapTEL; |
|
135 extraMapping= |
|
136 { |
|
137 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
138 MAPPING { mapping=KIntContactFieldVCardMapVOICE; } |
|
139 }; |
|
140 category=EContactCategoryHome; |
|
141 fieldName=STRING_r_cntui_new_field_defns7; |
|
142 }, |
|
143 FIELD |
|
144 { |
|
145 fieldStorageType=KStorageTypeText; |
|
146 contactFieldType=KUidContactFieldFaxValue; |
|
147 vCardMapping=KIntContactFieldVCardMapTEL; |
|
148 extraMapping= |
|
149 { |
|
150 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
151 MAPPING { mapping=KIntContactFieldVCardMapFAX; } |
|
152 }; |
|
153 category=EContactCategoryHome; |
|
154 fieldName=STRING_r_cntui_new_field_defns8; |
|
155 flags=EContactFieldFlagDisabled; |
|
156 }, |
|
157 FIELD |
|
158 { |
|
159 fieldStorageType=KStorageTypeText; |
|
160 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
161 vCardMapping=KIntContactFieldVCardMapTEL; |
|
162 extraMapping= |
|
163 { |
|
164 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
165 MAPPING { mapping=KIntContactFieldVCardMapVOICE; }, |
|
166 MAPPING { mapping=KIntContactFieldVCardMapPAGER; } |
|
167 }; |
|
168 category=EContactCategoryHome; |
|
169 fieldName=STRING_r_cntui_new_field_defns9; |
|
170 flags=EContactFieldFlagDisabled; |
|
171 }, |
|
172 FIELD |
|
173 { |
|
174 fieldStorageType=KStorageTypeText; |
|
175 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
176 vCardMapping=KIntContactFieldVCardMapTEL; |
|
177 extraMapping= |
|
178 { |
|
179 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
180 MAPPING { mapping=KIntContactFieldVCardMapBBS; } |
|
181 }; |
|
182 category=EContactCategoryHome; |
|
183 fieldName=STRING_r_cntui_new_field_defns10; |
|
184 flags=EContactFieldFlagDisabled; |
|
185 }, |
|
186 FIELD |
|
187 { |
|
188 fieldStorageType=KStorageTypeText; |
|
189 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
190 vCardMapping=KIntContactFieldVCardMapTEL; |
|
191 extraMapping= |
|
192 { |
|
193 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
194 MAPPING { mapping=KIntContactFieldVCardMapMODEM; } |
|
195 }; |
|
196 category=EContactCategoryHome; |
|
197 fieldName=STRING_r_cntui_new_field_defns11; |
|
198 flags=EContactFieldFlagDisabled; |
|
199 }, |
|
200 FIELD |
|
201 { |
|
202 fieldStorageType=KStorageTypeText; |
|
203 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
204 vCardMapping=KIntContactFieldVCardMapTEL; |
|
205 extraMapping= |
|
206 { |
|
207 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
208 MAPPING { mapping=KIntContactFieldVCardMapVOICE; }, |
|
209 MAPPING { mapping=KIntContactFieldVCardMapCAR; } |
|
210 }; |
|
211 category=EContactCategoryHome; |
|
212 fieldName=STRING_r_cntui_new_field_defns12; |
|
213 flags=EContactFieldFlagDisabled; |
|
214 }, |
|
215 FIELD |
|
216 { |
|
217 fieldStorageType=KStorageTypeText; |
|
218 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
219 vCardMapping=KIntContactFieldVCardMapTEL; |
|
220 extraMapping= |
|
221 { |
|
222 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
223 MAPPING { mapping=KIntContactFieldVCardMapISDN; } |
|
224 }; |
|
225 category=EContactCategoryHome; |
|
226 fieldName=STRING_r_cntui_new_field_defns13; |
|
227 flags=EContactFieldFlagDisabled; |
|
228 }, |
|
229 FIELD |
|
230 { |
|
231 fieldStorageType=KStorageTypeText; |
|
232 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
233 vCardMapping=KIntContactFieldVCardMapTEL; |
|
234 extraMapping= |
|
235 { |
|
236 MAPPING { mapping=KIntContactFieldVCardMapHOME; }, |
|
237 MAPPING { mapping=KIntContactFieldVCardMapVIDEO; } |
|
238 }; |
|
239 category=EContactCategoryHome; |
|
240 fieldName=STRING_r_cntui_new_field_defns14; |
|
241 flags=EContactFieldFlagDisabled; |
|
242 }, |
|
243 FIELD |
|
244 { |
|
245 fieldStorageType=KStorageTypeText; |
|
246 contactFieldType=KUidContactFieldEMailValue; |
|
247 vCardMapping=KIntContactFieldVCardMapEMAILINTERNET; |
|
248 extraMapping= |
|
249 { |
|
250 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
251 }; |
|
252 category=EContactCategoryHome; |
|
253 fieldName=STRING_r_cntui_new_field_defns15; |
|
254 }, |
|
255 FIELD |
|
256 { |
|
257 fieldStorageType=KStorageTypeText; |
|
258 contactFieldType=KUidContactFieldPostOfficeValue; |
|
259 vCardMapping=KIntContactFieldVCardMapPOSTOFFICE; |
|
260 extraMapping= |
|
261 { |
|
262 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
263 }; |
|
264 category=EContactCategoryHome; |
|
265 fieldName=STRING_r_cntui_new_field_defns16; |
|
266 flags=EContactFieldFlagDisabled; |
|
267 }, |
|
268 FIELD |
|
269 { |
|
270 fieldStorageType=KStorageTypeText; |
|
271 contactFieldType=KUidContactFieldExtendedAddressValue; |
|
272 vCardMapping=KIntContactFieldVCardMapEXTENDEDADR; |
|
273 extraMapping= |
|
274 { |
|
275 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
276 }; |
|
277 category=EContactCategoryHome; |
|
278 fieldName=STRING_r_cntui_new_field_defns17; |
|
279 flags=EContactFieldFlagDisabled; |
|
280 }, |
|
281 FIELD |
|
282 { |
|
283 fieldStorageType=KStorageTypeText; |
|
284 contactFieldType=KUidContactFieldAddressValue; |
|
285 vCardMapping=KIntContactFieldVCardMapADR; |
|
286 extraMapping= |
|
287 { |
|
288 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
289 }; |
|
290 category=EContactCategoryHome; |
|
291 fieldName=STRING_r_cntui_new_field_defns18; |
|
292 }, |
|
293 FIELD |
|
294 { |
|
295 fieldStorageType=KStorageTypeText; |
|
296 contactFieldType=KUidContactFieldLocalityValue; |
|
297 vCardMapping=KIntContactFieldVCardMapLOCALITY; |
|
298 extraMapping= |
|
299 { |
|
300 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
301 }; |
|
302 category=EContactCategoryHome; |
|
303 fieldName=STRING_r_cntui_new_field_defns19; |
|
304 }, |
|
305 FIELD |
|
306 { |
|
307 fieldStorageType=KStorageTypeText; |
|
308 contactFieldType=KUidContactFieldRegionValue; |
|
309 vCardMapping=KIntContactFieldVCardMapREGION; |
|
310 extraMapping= |
|
311 { |
|
312 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
313 }; |
|
314 category=EContactCategoryHome; |
|
315 fieldName=STRING_r_cntui_new_field_defns20; |
|
316 }, |
|
317 FIELD |
|
318 { |
|
319 fieldStorageType=KStorageTypeText; |
|
320 contactFieldType=KUidContactFieldPostCodeValue; |
|
321 vCardMapping=KIntContactFieldVCardMapPOSTCODE; |
|
322 extraMapping= |
|
323 { |
|
324 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
325 }; |
|
326 category=EContactCategoryHome; |
|
327 fieldName=STRING_r_cntui_new_field_defns21; |
|
328 }, |
|
329 FIELD |
|
330 { |
|
331 fieldStorageType=KStorageTypeText; |
|
332 contactFieldType=KUidContactFieldCountryValue; |
|
333 vCardMapping=KIntContactFieldVCardMapCOUNTRY; |
|
334 extraMapping= |
|
335 { |
|
336 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
337 }; |
|
338 category=EContactCategoryHome; |
|
339 fieldName=STRING_r_cntui_new_field_defns22; |
|
340 }, |
|
341 FIELD |
|
342 { |
|
343 fieldStorageType=KStorageTypeText; |
|
344 contactFieldType=KUidContactFieldUrlValue; |
|
345 vCardMapping=KIntContactFieldVCardMapURL; |
|
346 extraMapping= |
|
347 { |
|
348 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
349 }; |
|
350 category=EContactCategoryHome; |
|
351 fieldName=STRING_r_cntui_new_field_defns23; |
|
352 }, |
|
353 FIELD |
|
354 { |
|
355 fieldStorageType=KStorageTypeText; |
|
356 contactFieldType=KUidContactFieldIMAddressValue; |
|
357 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
358 extraMapping= |
|
359 { |
|
360 MAPPING { mapping=KIntContactFieldVCardMapWV; }, |
|
361 MAPPING { mapping=KIntContactFieldVCardMapHOME; } |
|
362 }; |
|
363 category=EContactCategoryHome; |
|
364 fieldName=STRING_r_cntui_new_field_defns_im_addr_wv; |
|
365 }, |
|
366 FIELD |
|
367 { |
|
368 fieldStorageType=KStorageTypeText; |
|
369 contactFieldType=KUidContactFieldSecondNameValue; |
|
370 vCardMapping=KIntContactFieldVCardMapSECONDNAME; |
|
371 category=EContactCategoryHome; |
|
372 fieldName=STRING_r_cntui_new_field_defns_second_name; |
|
373 }, |
|
374 // work jobbies |
|
375 FIELD |
|
376 { |
|
377 fieldStorageType=KStorageTypeText; |
|
378 contactFieldType=KUidContactFieldCompanyNameValue; |
|
379 vCardMapping=KIntContactFieldVCardMapORG; |
|
380 category=EContactCategoryWork; |
|
381 fieldName=STRING_r_cntui_new_field_defns24; |
|
382 }, |
|
383 FIELD |
|
384 { |
|
385 fieldStorageType=KStorageTypeText; |
|
386 contactFieldType=KUidContactFieldJobTitleValue; |
|
387 vCardMapping=KIntContactFieldVCardMapTITLE; |
|
388 category=EContactCategoryWork; |
|
389 fieldName=STRING_r_cntui_new_field_defns25; |
|
390 }, |
|
391 FIELD |
|
392 { |
|
393 fieldStorageType=KStorageTypeText; |
|
394 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
395 vCardMapping=KIntContactFieldVCardMapTEL; |
|
396 extraMapping= |
|
397 { |
|
398 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
399 MAPPING { mapping=KIntContactFieldVCardMapVOICE; }, |
|
400 MAPPING { mapping=KIntContactFieldVCardMapCELL; } |
|
401 }; |
|
402 category=EContactCategoryWork; |
|
403 fieldName=STRING_r_cntui_new_field_defns26; |
|
404 flags=EContactFieldFlagDisabled; |
|
405 }, |
|
406 FIELD |
|
407 { |
|
408 fieldStorageType=KStorageTypeText; |
|
409 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
410 vCardMapping=KIntContactFieldVCardMapTEL; |
|
411 extraMapping= |
|
412 { |
|
413 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
414 MAPPING { mapping=KIntContactFieldVCardMapVOICE; } |
|
415 }; |
|
416 category=EContactCategoryWork; |
|
417 fieldName=STRING_r_cntui_new_field_defns27; |
|
418 }, |
|
419 FIELD |
|
420 { |
|
421 fieldStorageType=KStorageTypeText; |
|
422 contactFieldType=KUidContactFieldFaxValue; |
|
423 vCardMapping=KIntContactFieldVCardMapTEL; |
|
424 extraMapping= |
|
425 { |
|
426 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
427 MAPPING { mapping=KIntContactFieldVCardMapFAX; } |
|
428 }; |
|
429 category=EContactCategoryWork; |
|
430 fieldName=STRING_r_cntui_new_field_defns28; |
|
431 }, |
|
432 FIELD |
|
433 { |
|
434 fieldStorageType=KStorageTypeText; |
|
435 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
436 vCardMapping=KIntContactFieldVCardMapTEL; |
|
437 extraMapping= |
|
438 { |
|
439 MAPPING { mapping=KIntContactFieldVCardMapPAGER; }, |
|
440 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
441 }; |
|
442 category=EContactCategoryWork; |
|
443 fieldName=STRING_r_cntui_new_field_defns29; |
|
444 flags=EContactFieldFlagDisabled; |
|
445 }, |
|
446 FIELD |
|
447 { |
|
448 fieldStorageType=KStorageTypeText; |
|
449 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
450 vCardMapping=KIntContactFieldVCardMapTEL; |
|
451 extraMapping= |
|
452 { |
|
453 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
454 MAPPING { mapping=KIntContactFieldVCardMapBBS; } |
|
455 }; |
|
456 category=EContactCategoryWork; |
|
457 fieldName=STRING_r_cntui_new_field_defns30; |
|
458 flags=EContactFieldFlagDisabled; |
|
459 }, |
|
460 FIELD |
|
461 { |
|
462 fieldStorageType=KStorageTypeText; |
|
463 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
464 vCardMapping=KIntContactFieldVCardMapTEL; |
|
465 extraMapping= |
|
466 { |
|
467 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
468 MAPPING { mapping=KIntContactFieldVCardMapMODEM; } |
|
469 }; |
|
470 category=EContactCategoryWork; |
|
471 fieldName=STRING_r_cntui_new_field_defns31; |
|
472 flags=EContactFieldFlagDisabled; |
|
473 }, |
|
474 FIELD |
|
475 { |
|
476 fieldStorageType=KStorageTypeText; |
|
477 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
478 vCardMapping=KIntContactFieldVCardMapTEL; |
|
479 extraMapping= |
|
480 { |
|
481 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
482 MAPPING { mapping=KIntContactFieldVCardMapVOICE; }, |
|
483 MAPPING { mapping=KIntContactFieldVCardMapCAR; } |
|
484 }; |
|
485 category=EContactCategoryHome; |
|
486 fieldName=STRING_r_cntui_new_field_defns32; |
|
487 flags=EContactFieldFlagDisabled; |
|
488 }, |
|
489 FIELD |
|
490 { |
|
491 fieldStorageType=KStorageTypeText; |
|
492 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
493 vCardMapping=KIntContactFieldVCardMapTEL; |
|
494 extraMapping= |
|
495 { |
|
496 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
497 MAPPING { mapping=KIntContactFieldVCardMapISDN; } |
|
498 }; |
|
499 category=EContactCategoryWork; |
|
500 fieldName=STRING_r_cntui_new_field_defns33; |
|
501 flags=EContactFieldFlagDisabled; |
|
502 }, |
|
503 FIELD |
|
504 { |
|
505 fieldStorageType=KStorageTypeText; |
|
506 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
507 vCardMapping=KIntContactFieldVCardMapTEL; |
|
508 extraMapping= |
|
509 { |
|
510 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
511 MAPPING { mapping=KIntContactFieldVCardMapVIDEO; } |
|
512 }; |
|
513 category=EContactCategoryWork; |
|
514 fieldName=STRING_r_cntui_new_field_defns34; |
|
515 flags=EContactFieldFlagDisabled; |
|
516 }, |
|
517 FIELD |
|
518 { |
|
519 fieldStorageType=KStorageTypeText; |
|
520 contactFieldType=KUidContactFieldEMailValue; |
|
521 vCardMapping=KIntContactFieldVCardMapEMAILINTERNET; |
|
522 extraMapping= |
|
523 { |
|
524 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
525 }; |
|
526 category=EContactCategoryWork; |
|
527 fieldName=STRING_r_cntui_new_field_defns35; |
|
528 }, |
|
529 FIELD |
|
530 { |
|
531 fieldStorageType=KStorageTypeText; |
|
532 contactFieldType=KUidContactFieldUrlValue; |
|
533 vCardMapping=KIntContactFieldVCardMapURL; |
|
534 extraMapping= |
|
535 { |
|
536 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
537 }; |
|
538 category=EContactCategoryWork; |
|
539 fieldName=STRING_r_cntui_new_field_defns36; |
|
540 }, |
|
541 FIELD |
|
542 { |
|
543 fieldStorageType=KStorageTypeText; |
|
544 contactFieldType=KUidContactFieldPostOfficeValue; |
|
545 vCardMapping=KIntContactFieldVCardMapPOSTOFFICE; |
|
546 extraMapping= |
|
547 { |
|
548 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
549 }; |
|
550 category=EContactCategoryWork; |
|
551 fieldName=STRING_r_cntui_new_field_defns37; |
|
552 flags=EContactFieldFlagDisabled; |
|
553 }, |
|
554 FIELD |
|
555 { |
|
556 fieldStorageType=KStorageTypeText; |
|
557 contactFieldType=KUidContactFieldExtendedAddressValue; |
|
558 vCardMapping=KIntContactFieldVCardMapEXTENDEDADR; |
|
559 extraMapping= |
|
560 { |
|
561 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
562 }; |
|
563 category=EContactCategoryWork; |
|
564 fieldName=STRING_r_cntui_new_field_defns38; |
|
565 flags=EContactFieldFlagDisabled; |
|
566 }, |
|
567 FIELD |
|
568 { |
|
569 fieldStorageType=KStorageTypeText; |
|
570 contactFieldType=KUidContactFieldAddressValue; |
|
571 vCardMapping=KIntContactFieldVCardMapADR; |
|
572 extraMapping= |
|
573 { |
|
574 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
575 }; |
|
576 category=EContactCategoryWork; |
|
577 fieldName=STRING_r_cntui_new_field_defns39; |
|
578 }, |
|
579 FIELD |
|
580 { |
|
581 fieldStorageType=KStorageTypeText; |
|
582 contactFieldType=KUidContactFieldLocalityValue; |
|
583 vCardMapping=KIntContactFieldVCardMapLOCALITY; |
|
584 extraMapping= |
|
585 { |
|
586 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
587 }; |
|
588 category=EContactCategoryWork; |
|
589 fieldName=STRING_r_cntui_new_field_defns40; |
|
590 }, |
|
591 FIELD |
|
592 { |
|
593 fieldStorageType=KStorageTypeText; |
|
594 contactFieldType=KUidContactFieldRegionValue; |
|
595 vCardMapping=KIntContactFieldVCardMapREGION; |
|
596 extraMapping= |
|
597 { |
|
598 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
599 }; |
|
600 category=EContactCategoryWork; |
|
601 fieldName=STRING_r_cntui_new_field_defns41; |
|
602 }, |
|
603 FIELD |
|
604 { |
|
605 fieldStorageType=KStorageTypeText; |
|
606 contactFieldType=KUidContactFieldPostCodeValue; |
|
607 vCardMapping=KIntContactFieldVCardMapPOSTCODE; |
|
608 extraMapping= |
|
609 { |
|
610 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
611 }; |
|
612 category=EContactCategoryWork; |
|
613 fieldName=STRING_r_cntui_new_field_defns42; |
|
614 }, |
|
615 FIELD |
|
616 { |
|
617 fieldStorageType=KStorageTypeText; |
|
618 contactFieldType=KUidContactFieldCountryValue; |
|
619 vCardMapping=KIntContactFieldVCardMapCOUNTRY; |
|
620 extraMapping= |
|
621 { |
|
622 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
623 }; |
|
624 category=EContactCategoryWork; |
|
625 fieldName=STRING_r_cntui_new_field_defns43; |
|
626 }, |
|
627 FIELD |
|
628 { |
|
629 fieldStorageType=KStorageTypeStore; |
|
630 contactFieldType=KUidContactFieldPictureValue; |
|
631 vCardMapping=KIntContactFieldVCardMapLOGO; |
|
632 category=EContactCategoryWork; |
|
633 fieldName=STRING_r_cntui_new_field_defns44; |
|
634 flags=EContactFieldFlagHidden; |
|
635 }, |
|
636 FIELD |
|
637 { |
|
638 fieldStorageType=KStorageTypeText; |
|
639 contactFieldType=KUidContactFieldIMAddressValue; |
|
640 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
641 extraMapping= |
|
642 { |
|
643 MAPPING { mapping=KIntContactFieldVCardMapWV; }, |
|
644 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
645 }; |
|
646 category=EContactCategoryWork; |
|
647 fieldName=STRING_r_cntui_new_field_defns_im_addr_wv; |
|
648 }, |
|
649 |
|
650 // other jobbies |
|
651 FIELD |
|
652 { |
|
653 fieldStorageType=KStorageTypeDateTime; |
|
654 contactFieldType=KUidContactFieldBirthdayValue; |
|
655 vCardMapping=KIntContactFieldVCardMapBDAY; |
|
656 category=EContactCategoryOther; |
|
657 fieldName=STRING_r_cntui_new_field_defns45; |
|
658 flags=EContactFieldFlagDisabled; |
|
659 }, |
|
660 FIELD |
|
661 { |
|
662 fieldStorageType=KStorageTypeText; |
|
663 contactFieldType=KUidContactFieldNoteValue; |
|
664 vCardMapping=KIntContactFieldVCardMapNOTE; |
|
665 category=EContactCategoryOther; |
|
666 fieldName=STRING_r_cntui_new_field_defns46; |
|
667 }, |
|
668 FIELD |
|
669 { |
|
670 fieldStorageType=KStorageTypeText; |
|
671 contactFieldType=KUidContactFieldAssistantValue; |
|
672 vCardMapping=KIntContactFieldVCardMapAssistant; |
|
673 category=EContactCategoryWork; |
|
674 fieldName=STRING_r_cntui_new_field_defns64; |
|
675 }, |
|
676 FIELD |
|
677 { |
|
678 fieldStorageType=KStorageTypeText; |
|
679 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
680 vCardMapping=KIntContactFieldVCardMapAssistantTel; |
|
681 category=EContactCategoryWork; |
|
682 fieldName=STRING_r_cntui_new_field_defns65; |
|
683 }, |
|
684 FIELD |
|
685 { |
|
686 fieldStorageType=KStorageTypeDateTime; |
|
687 contactFieldType=KUidContactFieldAnniversaryValue; |
|
688 vCardMapping=KIntContactFieldVCardMapAnniversary; |
|
689 category=EContactCategoryOther; |
|
690 fieldName=STRING_r_cntui_new_field_defns66; |
|
691 }, |
|
692 FIELD |
|
693 { |
|
694 fieldStorageType=KStorageTypeText; |
|
695 contactFieldType=KUidContactFieldSpouseValue; |
|
696 vCardMapping=KIntContactFieldVCardMapSpouse; |
|
697 category=EContactCategoryHome; |
|
698 fieldName=STRING_r_cntui_new_field_defns67; |
|
699 }, |
|
700 FIELD |
|
701 { |
|
702 fieldStorageType=KStorageTypeText; |
|
703 contactFieldType=KUidContactFieldChildrenValue; |
|
704 vCardMapping=KIntContactFieldVCardMapChildren; |
|
705 category=EContactCategoryHome; |
|
706 fieldName=STRING_r_cntui_new_field_defns68; |
|
707 }, |
|
708 FIELD |
|
709 { |
|
710 fieldStorageType=KStorageTypeText; |
|
711 contactFieldType=KUidContactFieldClassValue; |
|
712 vCardMapping=KIntContactFieldVCardMapClass; |
|
713 category=EContactCategoryOther; |
|
714 fieldName=STRING_r_cntui_new_field_defns69; |
|
715 }, |
|
716 FIELD |
|
717 { |
|
718 fieldStorageType=KStorageTypeText; |
|
719 contactFieldType=KUidContactFieldDepartmentNameValue; |
|
720 vCardMapping=KIntContactFieldVCardMapDepartment; |
|
721 category=EContactCategoryWork; |
|
722 fieldName=STRING_r_cntui_new_field_defns70; |
|
723 }, |
|
724 |
|
725 FIELD |
|
726 { |
|
727 fieldStorageType=KStorageTypeText; |
|
728 contactFieldType=KUidContactFieldNoneValue; |
|
729 vCardMapping=KIntContactFieldVCardMapUnusedFN; |
|
730 category=EContactCategoryNone; |
|
731 fieldName=STRING_r_cntui_new_field_defns47; |
|
732 flags=EContactFieldFlagHidden; |
|
733 }, |
|
734 FIELD |
|
735 { |
|
736 fieldStorageType=KStorageTypeStore; |
|
737 contactFieldType=KUidContactFieldPictureValue; |
|
738 vCardMapping=KIntContactFieldVCardMapPHOTO; |
|
739 category=EContactCategoryNone; |
|
740 fieldName=STRING_r_cntui_new_field_defns48; |
|
741 flags=EContactFieldFlagHidden; |
|
742 }, |
|
743 FIELD |
|
744 { |
|
745 fieldStorageType=KStorageTypeText; |
|
746 contactFieldType=KUidContactFieldNoneValue; |
|
747 vCardMapping=KIntContactFieldVCardMapLABEL; |
|
748 category=EContactCategoryNone; |
|
749 fieldName=STRING_r_cntui_new_field_defns49; |
|
750 flags=EContactFieldFlagDisabled; |
|
751 }, |
|
752 FIELD |
|
753 { |
|
754 fieldStorageType=KStorageTypeText; |
|
755 contactFieldType=KUidContactFieldTemplateLabelValue; |
|
756 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
757 category=EContactCategoryNone; |
|
758 fieldName=STRING_r_cntui_new_field_defns50; |
|
759 flags=EContactFieldFlagHidden; |
|
760 }, |
|
761 //============================================================================= |
|
762 // new fields for custom filtering |
|
763 //============================================================================= |
|
764 FIELD |
|
765 { |
|
766 fieldStorageType=KStorageTypeText; |
|
767 contactFieldType=KUidContactFieldCustom2Value; |
|
768 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
769 category=EContactCategoryNone; |
|
770 fieldName=STRING_r_cntui_new_field_defns52; |
|
771 flags=KIntFieldFlagFilterable2|KIntFieldFlagSynchronize; |
|
772 }, |
|
773 FIELD |
|
774 { |
|
775 fieldStorageType=KStorageTypeText; |
|
776 contactFieldType=KUidContactFieldCustom1Value; |
|
777 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
778 category=EContactCategoryNone; |
|
779 fieldName=STRING_r_cntui_new_field_defns51; |
|
780 flags=EContactFieldFlagFilterable1; |
|
781 }, |
|
782 |
|
783 //============================================================================= |
|
784 // new fields for pronunciation |
|
785 //============================================================================= |
|
786 FIELD |
|
787 { |
|
788 fieldStorageType=KStorageTypeText; |
|
789 contactFieldType=KUidContactFieldGivenNamePronunciationValue; |
|
790 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
791 category=EContactCategoryHome; |
|
792 fieldName=STRING_r_cntui_new_field_defns_first_name_prn; |
|
793 }, |
|
794 FIELD |
|
795 { |
|
796 fieldStorageType=KStorageTypeText; |
|
797 contactFieldType=KUidContactFieldFamilyNamePronunciationValue; |
|
798 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
799 category=EContactCategoryHome; |
|
800 fieldName=STRING_r_cntui_new_field_defns_last_name_prn; |
|
801 }, |
|
802 FIELD |
|
803 { |
|
804 fieldStorageType=KStorageTypeText; |
|
805 contactFieldType=KUidContactFieldCompanyNamePronunciationValue; |
|
806 vCardMapping=KIntContactFieldVCardMapORGPronunciation; |
|
807 category=EContactCategoryWork; |
|
808 fieldName=STRING_r_cntui_new_field_defns_company_prn; |
|
809 }, |
|
810 //============================================================================= |
|
811 // Fields for SIP identity. |
|
812 //============================================================================= |
|
813 FIELD |
|
814 { |
|
815 fieldStorageType=KStorageTypeText; |
|
816 contactFieldType=KUidContactFieldSIPIDValue; |
|
817 vCardMapping=KIntContactFieldVCardMapSIPID; |
|
818 extraMapping= |
|
819 { |
|
820 MAPPING { mapping=KIntContactFieldVCardMapPOC; } |
|
821 }; |
|
822 category=EContactCategoryHome; |
|
823 fieldName=STRING_r_cntui_new_field_defns_sip_id_poc; |
|
824 }, |
|
825 FIELD |
|
826 { |
|
827 fieldStorageType=KStorageTypeText; |
|
828 contactFieldType=KUidContactFieldSIPIDValue; |
|
829 vCardMapping=KIntContactFieldVCardMapSIPID; |
|
830 extraMapping= |
|
831 { |
|
832 MAPPING { mapping=KIntContactFieldVCardMapSWIS; } |
|
833 }; |
|
834 category=EContactCategoryHome; |
|
835 fieldName=STRING_r_cntui_new_field_defns_sip_id_swis; |
|
836 }, |
|
837 FIELD |
|
838 { |
|
839 fieldStorageType=KStorageTypeText; |
|
840 contactFieldType=KUidContactFieldSIPIDValue; |
|
841 vCardMapping=KIntContactFieldVCardMapSIPID; |
|
842 extraMapping= |
|
843 { |
|
844 MAPPING { mapping=KIntContactFieldVCardMapVOIP; } |
|
845 }; |
|
846 category=EContactCategoryHome; |
|
847 fieldName=STRING_r_cntui_new_field_defns_sip_id_voip; |
|
848 }, |
|
849 FIELD |
|
850 { |
|
851 fieldStorageType=KStorageTypeText; |
|
852 contactFieldType=KUidContactFieldSIPIDValue; |
|
853 vCardMapping=KIntContactFieldVCardMapSIPID; |
|
854 extraMapping= |
|
855 { |
|
856 MAPPING { mapping=KIntContactFieldVCardMapSIPID; } |
|
857 }; |
|
858 category=EContactCategoryHome; |
|
859 fieldName=STRING_r_cntui_new_field_defns_sip_id_generic; |
|
860 }, |
|
861 //============================================================================= |
|
862 // Fields for IM Wireless Village identity. |
|
863 //============================================================================= |
|
864 FIELD |
|
865 { |
|
866 fieldStorageType=KStorageTypeText; |
|
867 contactFieldType=KUidContactFieldIMAddressValue; |
|
868 vCardMapping=KIntContactFieldVCardMapWV; |
|
869 category=EContactCategoryHome; |
|
870 fieldName=STRING_r_cntui_new_field_defns_im_addr_wv; |
|
871 }, |
|
872 //============================================================================= |
|
873 // Fields for GEO Location. |
|
874 //============================================================================= |
|
875 FIELD |
|
876 { |
|
877 fieldStorageType=KStorageTypeText; |
|
878 contactFieldType=KUidContactFieldGEOValue; |
|
879 vCardMapping=KIntContactFieldVCardMapGEO; |
|
880 category=EContactCategoryHome; |
|
881 fieldName=STRING_r_cntui_new_field_defns_geo; |
|
882 } |
|
883 }; |
|
884 } |
|
885 |