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