|
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 flags=EContactFieldFlagFilterable1; |
|
391 }, |
|
392 FIELD |
|
393 { |
|
394 fieldStorageType=KStorageTypeText; |
|
395 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
396 vCardMapping=KIntContactFieldVCardMapTEL; |
|
397 extraMapping= |
|
398 { |
|
399 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
400 MAPPING { mapping=KIntContactFieldVCardMapVOICE; }, |
|
401 MAPPING { mapping=KIntContactFieldVCardMapCELL; } |
|
402 }; |
|
403 category=EContactCategoryWork; |
|
404 fieldName=STRING_r_cntui_new_field_defns26; |
|
405 flags=EContactFieldFlagDisabled; |
|
406 }, |
|
407 FIELD |
|
408 { |
|
409 fieldStorageType=KStorageTypeText; |
|
410 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
411 vCardMapping=KIntContactFieldVCardMapTEL; |
|
412 extraMapping= |
|
413 { |
|
414 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
415 MAPPING { mapping=KIntContactFieldVCardMapVOICE; } |
|
416 }; |
|
417 category=EContactCategoryWork; |
|
418 fieldName=STRING_r_cntui_new_field_defns27; |
|
419 }, |
|
420 FIELD |
|
421 { |
|
422 fieldStorageType=KStorageTypeText; |
|
423 contactFieldType=KUidContactFieldFaxValue; |
|
424 vCardMapping=KIntContactFieldVCardMapTEL; |
|
425 extraMapping= |
|
426 { |
|
427 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
428 MAPPING { mapping=KIntContactFieldVCardMapFAX; } |
|
429 }; |
|
430 category=EContactCategoryWork; |
|
431 fieldName=STRING_r_cntui_new_field_defns28; |
|
432 }, |
|
433 FIELD |
|
434 { |
|
435 fieldStorageType=KStorageTypeText; |
|
436 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
437 vCardMapping=KIntContactFieldVCardMapTEL; |
|
438 extraMapping= |
|
439 { |
|
440 MAPPING { mapping=KIntContactFieldVCardMapPAGER; }, |
|
441 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
442 }; |
|
443 category=EContactCategoryWork; |
|
444 fieldName=STRING_r_cntui_new_field_defns29; |
|
445 flags=EContactFieldFlagDisabled; |
|
446 }, |
|
447 FIELD |
|
448 { |
|
449 fieldStorageType=KStorageTypeText; |
|
450 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
451 vCardMapping=KIntContactFieldVCardMapTEL; |
|
452 extraMapping= |
|
453 { |
|
454 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
455 MAPPING { mapping=KIntContactFieldVCardMapBBS; } |
|
456 }; |
|
457 category=EContactCategoryWork; |
|
458 fieldName=STRING_r_cntui_new_field_defns30; |
|
459 flags=EContactFieldFlagDisabled; |
|
460 }, |
|
461 FIELD |
|
462 { |
|
463 fieldStorageType=KStorageTypeText; |
|
464 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
465 vCardMapping=KIntContactFieldVCardMapTEL; |
|
466 extraMapping= |
|
467 { |
|
468 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
469 MAPPING { mapping=KIntContactFieldVCardMapMODEM; } |
|
470 }; |
|
471 category=EContactCategoryWork; |
|
472 fieldName=STRING_r_cntui_new_field_defns31; |
|
473 flags=EContactFieldFlagDisabled; |
|
474 }, |
|
475 FIELD |
|
476 { |
|
477 fieldStorageType=KStorageTypeText; |
|
478 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
479 vCardMapping=KIntContactFieldVCardMapTEL; |
|
480 extraMapping= |
|
481 { |
|
482 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
483 MAPPING { mapping=KIntContactFieldVCardMapVOICE; }, |
|
484 MAPPING { mapping=KIntContactFieldVCardMapCAR; } |
|
485 }; |
|
486 category=EContactCategoryHome; |
|
487 fieldName=STRING_r_cntui_new_field_defns32; |
|
488 flags=EContactFieldFlagDisabled; |
|
489 }, |
|
490 FIELD |
|
491 { |
|
492 fieldStorageType=KStorageTypeText; |
|
493 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
494 vCardMapping=KIntContactFieldVCardMapTEL; |
|
495 extraMapping= |
|
496 { |
|
497 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
498 MAPPING { mapping=KIntContactFieldVCardMapISDN; } |
|
499 }; |
|
500 category=EContactCategoryWork; |
|
501 fieldName=STRING_r_cntui_new_field_defns33; |
|
502 flags=EContactFieldFlagDisabled; |
|
503 }, |
|
504 FIELD |
|
505 { |
|
506 fieldStorageType=KStorageTypeText; |
|
507 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
508 vCardMapping=KIntContactFieldVCardMapTEL; |
|
509 extraMapping= |
|
510 { |
|
511 MAPPING { mapping=KIntContactFieldVCardMapWORK; }, |
|
512 MAPPING { mapping=KIntContactFieldVCardMapVIDEO; } |
|
513 }; |
|
514 category=EContactCategoryWork; |
|
515 fieldName=STRING_r_cntui_new_field_defns34; |
|
516 flags=EContactFieldFlagDisabled; |
|
517 }, |
|
518 FIELD |
|
519 { |
|
520 fieldStorageType=KStorageTypeText; |
|
521 contactFieldType=KUidContactFieldEMailValue; |
|
522 vCardMapping=KIntContactFieldVCardMapEMAILINTERNET; |
|
523 extraMapping= |
|
524 { |
|
525 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
526 }; |
|
527 category=EContactCategoryWork; |
|
528 fieldName=STRING_r_cntui_new_field_defns35; |
|
529 }, |
|
530 FIELD |
|
531 { |
|
532 fieldStorageType=KStorageTypeText; |
|
533 contactFieldType=KUidContactFieldUrlValue; |
|
534 vCardMapping=KIntContactFieldVCardMapURL; |
|
535 extraMapping= |
|
536 { |
|
537 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
538 }; |
|
539 category=EContactCategoryWork; |
|
540 fieldName=STRING_r_cntui_new_field_defns36; |
|
541 }, |
|
542 FIELD |
|
543 { |
|
544 fieldStorageType=KStorageTypeText; |
|
545 contactFieldType=KUidContactFieldPostOfficeValue; |
|
546 vCardMapping=KIntContactFieldVCardMapPOSTOFFICE; |
|
547 extraMapping= |
|
548 { |
|
549 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
550 }; |
|
551 category=EContactCategoryWork; |
|
552 fieldName=STRING_r_cntui_new_field_defns37; |
|
553 flags=EContactFieldFlagDisabled; |
|
554 }, |
|
555 FIELD |
|
556 { |
|
557 fieldStorageType=KStorageTypeText; |
|
558 contactFieldType=KUidContactFieldExtendedAddressValue; |
|
559 vCardMapping=KIntContactFieldVCardMapEXTENDEDADR; |
|
560 extraMapping= |
|
561 { |
|
562 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
563 }; |
|
564 category=EContactCategoryWork; |
|
565 fieldName=STRING_r_cntui_new_field_defns38; |
|
566 flags=EContactFieldFlagDisabled; |
|
567 }, |
|
568 FIELD |
|
569 { |
|
570 fieldStorageType=KStorageTypeText; |
|
571 contactFieldType=KUidContactFieldAddressValue; |
|
572 vCardMapping=KIntContactFieldVCardMapADR; |
|
573 extraMapping= |
|
574 { |
|
575 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
576 }; |
|
577 category=EContactCategoryWork; |
|
578 fieldName=STRING_r_cntui_new_field_defns39; |
|
579 }, |
|
580 FIELD |
|
581 { |
|
582 fieldStorageType=KStorageTypeText; |
|
583 contactFieldType=KUidContactFieldLocalityValue; |
|
584 vCardMapping=KIntContactFieldVCardMapLOCALITY; |
|
585 extraMapping= |
|
586 { |
|
587 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
588 }; |
|
589 category=EContactCategoryWork; |
|
590 fieldName=STRING_r_cntui_new_field_defns40; |
|
591 }, |
|
592 FIELD |
|
593 { |
|
594 fieldStorageType=KStorageTypeText; |
|
595 contactFieldType=KUidContactFieldRegionValue; |
|
596 vCardMapping=KIntContactFieldVCardMapREGION; |
|
597 extraMapping= |
|
598 { |
|
599 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
600 }; |
|
601 category=EContactCategoryWork; |
|
602 fieldName=STRING_r_cntui_new_field_defns41; |
|
603 }, |
|
604 FIELD |
|
605 { |
|
606 fieldStorageType=KStorageTypeText; |
|
607 contactFieldType=KUidContactFieldPostCodeValue; |
|
608 vCardMapping=KIntContactFieldVCardMapPOSTCODE; |
|
609 extraMapping= |
|
610 { |
|
611 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
612 }; |
|
613 category=EContactCategoryWork; |
|
614 fieldName=STRING_r_cntui_new_field_defns42; |
|
615 }, |
|
616 FIELD |
|
617 { |
|
618 fieldStorageType=KStorageTypeText; |
|
619 contactFieldType=KUidContactFieldCountryValue; |
|
620 vCardMapping=KIntContactFieldVCardMapCOUNTRY; |
|
621 extraMapping= |
|
622 { |
|
623 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
624 }; |
|
625 category=EContactCategoryWork; |
|
626 fieldName=STRING_r_cntui_new_field_defns43; |
|
627 }, |
|
628 FIELD |
|
629 { |
|
630 fieldStorageType=KStorageTypeStore; |
|
631 contactFieldType=KUidContactFieldPictureValue; |
|
632 vCardMapping=KIntContactFieldVCardMapLOGO; |
|
633 category=EContactCategoryWork; |
|
634 fieldName=STRING_r_cntui_new_field_defns44; |
|
635 flags=EContactFieldFlagHidden; |
|
636 }, |
|
637 FIELD |
|
638 { |
|
639 fieldStorageType=KStorageTypeText; |
|
640 contactFieldType=KUidContactFieldIMAddressValue; |
|
641 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
642 extraMapping= |
|
643 { |
|
644 MAPPING { mapping=KIntContactFieldVCardMapWV; }, |
|
645 MAPPING { mapping=KIntContactFieldVCardMapWORK; } |
|
646 }; |
|
647 category=EContactCategoryWork; |
|
648 fieldName=STRING_r_cntui_new_field_defns_im_addr_wv; |
|
649 }, |
|
650 |
|
651 // other jobbies |
|
652 FIELD |
|
653 { |
|
654 fieldStorageType=KStorageTypeDateTime; |
|
655 contactFieldType=KUidContactFieldBirthdayValue; |
|
656 vCardMapping=KIntContactFieldVCardMapBDAY; |
|
657 category=EContactCategoryOther; |
|
658 fieldName=STRING_r_cntui_new_field_defns45; |
|
659 flags=EContactFieldFlagDisabled; |
|
660 }, |
|
661 FIELD |
|
662 { |
|
663 fieldStorageType=KStorageTypeText; |
|
664 contactFieldType=KUidContactFieldNoteValue; |
|
665 vCardMapping=KIntContactFieldVCardMapNOTE; |
|
666 category=EContactCategoryOther; |
|
667 fieldName=STRING_r_cntui_new_field_defns46; |
|
668 }, |
|
669 FIELD |
|
670 { |
|
671 fieldStorageType=KStorageTypeText; |
|
672 contactFieldType=KUidContactFieldAssistantValue; |
|
673 vCardMapping=KIntContactFieldVCardMapAssistant; |
|
674 category=EContactCategoryWork; |
|
675 fieldName=STRING_r_cntui_new_field_defns64; |
|
676 }, |
|
677 FIELD |
|
678 { |
|
679 fieldStorageType=KStorageTypeText; |
|
680 contactFieldType=KUidContactFieldPhoneNumberValue; |
|
681 vCardMapping=KIntContactFieldVCardMapAssistantTel; |
|
682 category=EContactCategoryWork; |
|
683 fieldName=STRING_r_cntui_new_field_defns65; |
|
684 }, |
|
685 FIELD |
|
686 { |
|
687 fieldStorageType=KStorageTypeDateTime; |
|
688 contactFieldType=KUidContactFieldAnniversaryValue; |
|
689 vCardMapping=KIntContactFieldVCardMapAnniversary; |
|
690 category=EContactCategoryOther; |
|
691 fieldName=STRING_r_cntui_new_field_defns66; |
|
692 }, |
|
693 FIELD |
|
694 { |
|
695 fieldStorageType=KStorageTypeText; |
|
696 contactFieldType=KUidContactFieldSpouseValue; |
|
697 vCardMapping=KIntContactFieldVCardMapSpouse; |
|
698 category=EContactCategoryHome; |
|
699 fieldName=STRING_r_cntui_new_field_defns67; |
|
700 }, |
|
701 FIELD |
|
702 { |
|
703 fieldStorageType=KStorageTypeText; |
|
704 contactFieldType=KUidContactFieldChildrenValue; |
|
705 vCardMapping=KIntContactFieldVCardMapChildren; |
|
706 category=EContactCategoryHome; |
|
707 fieldName=STRING_r_cntui_new_field_defns68; |
|
708 }, |
|
709 FIELD |
|
710 { |
|
711 fieldStorageType=KStorageTypeText; |
|
712 contactFieldType=KUidContactFieldClassValue; |
|
713 vCardMapping=KIntContactFieldVCardMapClass; |
|
714 category=EContactCategoryOther; |
|
715 fieldName=STRING_r_cntui_new_field_defns69; |
|
716 }, |
|
717 FIELD |
|
718 { |
|
719 fieldStorageType=KStorageTypeText; |
|
720 contactFieldType=KUidContactFieldDepartmentNameValue; |
|
721 vCardMapping=KIntContactFieldVCardMapDepartment; |
|
722 category=EContactCategoryWork; |
|
723 fieldName=STRING_r_cntui_new_field_defns70; |
|
724 }, |
|
725 |
|
726 FIELD |
|
727 { |
|
728 fieldStorageType=KStorageTypeText; |
|
729 contactFieldType=KUidContactFieldNoneValue; |
|
730 vCardMapping=KIntContactFieldVCardMapUnusedFN; |
|
731 category=EContactCategoryNone; |
|
732 fieldName=STRING_r_cntui_new_field_defns47; |
|
733 flags=EContactFieldFlagHidden; |
|
734 }, |
|
735 FIELD |
|
736 { |
|
737 fieldStorageType=KStorageTypeStore; |
|
738 contactFieldType=KUidContactFieldPictureValue; |
|
739 vCardMapping=KIntContactFieldVCardMapPHOTO; |
|
740 category=EContactCategoryNone; |
|
741 fieldName=STRING_r_cntui_new_field_defns48; |
|
742 flags=EContactFieldFlagHidden; |
|
743 }, |
|
744 FIELD |
|
745 { |
|
746 fieldStorageType=KStorageTypeText; |
|
747 contactFieldType=KUidContactFieldNoneValue; |
|
748 vCardMapping=KIntContactFieldVCardMapLABEL; |
|
749 category=EContactCategoryNone; |
|
750 fieldName=STRING_r_cntui_new_field_defns49; |
|
751 flags=EContactFieldFlagDisabled; |
|
752 }, |
|
753 FIELD |
|
754 { |
|
755 fieldStorageType=KStorageTypeText; |
|
756 contactFieldType=KUidContactFieldTemplateLabelValue; |
|
757 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
758 category=EContactCategoryNone; |
|
759 fieldName=STRING_r_cntui_new_field_defns50; |
|
760 flags=EContactFieldFlagHidden; |
|
761 }, |
|
762 //============================================================================= |
|
763 // new fields for custom filtering |
|
764 //============================================================================= |
|
765 FIELD |
|
766 { |
|
767 fieldStorageType=KStorageTypeText; |
|
768 contactFieldType=KUidContactFieldCustom2Value; |
|
769 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
770 category=EContactCategoryNone; |
|
771 fieldName=STRING_r_cntui_new_field_defns52; |
|
772 flags=KIntFieldFlagFilterable2|KIntFieldFlagSynchronize; |
|
773 }, |
|
774 FIELD |
|
775 { |
|
776 fieldStorageType=KStorageTypeText; |
|
777 contactFieldType=KUidContactFieldCustom1Value; |
|
778 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
779 category=EContactCategoryNone; |
|
780 fieldName=STRING_r_cntui_new_field_defns51; |
|
781 flags=EContactFieldFlagFilterable1; |
|
782 }, |
|
783 |
|
784 //============================================================================= |
|
785 // new fields for pronunciation |
|
786 //============================================================================= |
|
787 FIELD |
|
788 { |
|
789 fieldStorageType=KStorageTypeText; |
|
790 contactFieldType=KUidContactFieldGivenNamePronunciationValue; |
|
791 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
792 category=EContactCategoryHome; |
|
793 fieldName=STRING_r_cntui_new_field_defns_first_name_prn; |
|
794 }, |
|
795 FIELD |
|
796 { |
|
797 fieldStorageType=KStorageTypeText; |
|
798 contactFieldType=KUidContactFieldFamilyNamePronunciationValue; |
|
799 vCardMapping=KIntContactFieldVCardMapUnusedN; |
|
800 category=EContactCategoryHome; |
|
801 fieldName=STRING_r_cntui_new_field_defns_last_name_prn; |
|
802 }, |
|
803 FIELD |
|
804 { |
|
805 fieldStorageType=KStorageTypeText; |
|
806 contactFieldType=KUidContactFieldCompanyNamePronunciationValue; |
|
807 vCardMapping=KIntContactFieldVCardMapORGPronunciation; |
|
808 category=EContactCategoryWork; |
|
809 fieldName=STRING_r_cntui_new_field_defns_company_prn; |
|
810 }, |
|
811 //============================================================================= |
|
812 // Fields for SIP identity. |
|
813 //============================================================================= |
|
814 FIELD |
|
815 { |
|
816 fieldStorageType=KStorageTypeText; |
|
817 contactFieldType=KUidContactFieldSIPIDValue; |
|
818 vCardMapping=KIntContactFieldVCardMapSIPID; |
|
819 extraMapping= |
|
820 { |
|
821 MAPPING { mapping=KIntContactFieldVCardMapPOC; } |
|
822 }; |
|
823 category=EContactCategoryHome; |
|
824 fieldName=STRING_r_cntui_new_field_defns_sip_id_poc; |
|
825 }, |
|
826 FIELD |
|
827 { |
|
828 fieldStorageType=KStorageTypeText; |
|
829 contactFieldType=KUidContactFieldSIPIDValue; |
|
830 vCardMapping=KIntContactFieldVCardMapSIPID; |
|
831 extraMapping= |
|
832 { |
|
833 MAPPING { mapping=KIntContactFieldVCardMapSWIS; } |
|
834 }; |
|
835 category=EContactCategoryHome; |
|
836 fieldName=STRING_r_cntui_new_field_defns_sip_id_swis; |
|
837 }, |
|
838 FIELD |
|
839 { |
|
840 fieldStorageType=KStorageTypeText; |
|
841 contactFieldType=KUidContactFieldSIPIDValue; |
|
842 vCardMapping=KIntContactFieldVCardMapSIPID; |
|
843 extraMapping= |
|
844 { |
|
845 MAPPING { mapping=KIntContactFieldVCardMapVOIP; } |
|
846 }; |
|
847 category=EContactCategoryHome; |
|
848 fieldName=STRING_r_cntui_new_field_defns_sip_id_voip; |
|
849 }, |
|
850 FIELD |
|
851 { |
|
852 fieldStorageType=KStorageTypeText; |
|
853 contactFieldType=KUidContactFieldSIPIDValue; |
|
854 vCardMapping=KIntContactFieldVCardMapSIPID; |
|
855 extraMapping= |
|
856 { |
|
857 MAPPING { mapping=KIntContactFieldVCardMapSIPID; } |
|
858 }; |
|
859 category=EContactCategoryHome; |
|
860 fieldName=STRING_r_cntui_new_field_defns_sip_id_generic; |
|
861 }, |
|
862 //============================================================================= |
|
863 // Fields for IM Wireless Village identity. |
|
864 //============================================================================= |
|
865 FIELD |
|
866 { |
|
867 fieldStorageType=KStorageTypeText; |
|
868 contactFieldType=KUidContactFieldIMAddressValue; |
|
869 vCardMapping=KIntContactFieldVCardMapWV; |
|
870 category=EContactCategoryHome; |
|
871 fieldName=STRING_r_cntui_new_field_defns_im_addr_wv; |
|
872 }, |
|
873 //============================================================================= |
|
874 // Fields for GEO Location. |
|
875 //============================================================================= |
|
876 FIELD |
|
877 { |
|
878 fieldStorageType=KStorageTypeText; |
|
879 contactFieldType=KUidContactFieldGEOValue; |
|
880 vCardMapping=KIntContactFieldVCardMapGEO; |
|
881 category=EContactCategoryHome; |
|
882 fieldName=STRING_r_cntui_new_field_defns_geo; |
|
883 } |
|
884 }; |
|
885 } |
|
886 |