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