settingsengines/sdb/tests/config/cntmodel_n.rss
changeset 1 b538b70cbe51
equal deleted inserted replaced
0:2e8eeb919028 1:b538b70cbe51
       
     1 // Copyright (c) 2002-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 // Name     : cntmodel.rss
       
    15 // Part of  : PbkEng.dll
       
    16 // Customised contact model default template.
       
    17 // Compilation of this file overwrites z:\system\data\cntmodel.rsc which is
       
    18 // initially produced by building cntmodel (Contacts Model).
       
    19 // Version:
       
    20 // This material, including documentation and any related 
       
    21 // computer programs, is protected by copyright controlled by 
       
    22 // Nokia Corporation. All rights are reserved. Copying, 
       
    23 // including reproducing, storing,  adapting or translating, any 
       
    24 // or all of this material requires the prior written consent of 
       
    25 // Nokia Corporation. This material also contains confidential 
       
    26 // information which may not be disclosed to others without the 
       
    27 // prior written consent of Nokia Corporation.
       
    28 //
       
    29 
       
    30 
       
    31 
       
    32 // INCLUDES
       
    33 #include <badef.rh>
       
    34 #include <CntDef.hrh>
       
    35 #include <cntmodel.rh>
       
    36 #include <phonebook/pbkconfig.hrh>
       
    37 #include "PbkEng.hrh"
       
    38 #include <Phonebook.loc>
       
    39 
       
    40 
       
    41 // MACROS
       
    42 
       
    43 // From uikon.hrh
       
    44 #define EEikResourceSignatureValue 4
       
    45 
       
    46 
       
    47 //  RESOURCE DEFINITIONS 
       
    48 
       
    49 // From uikon.rh - avoids PbkEng requiring Uikon
       
    50 //
       
    51 STRUCT RSS_SIGNATURE
       
    52     {
       
    53     LONG signature=EEikResourceSignatureValue;
       
    54     SRLINK self;
       
    55     }
       
    56 
       
    57 // Resource signature
       
    58 RESOURCE RSS_SIGNATURE { }
       
    59 
       
    60 
       
    61 /**
       
    62  * Phonebook's default contact card template. This resource is read by cntmodel
       
    63  * when it creates a new database.
       
    64  *
       
    65  * @see FIELD
       
    66  * @see CContactDatabase#CreateTemplateAndPrefsL()
       
    67  */
       
    68 RESOURCE ARRAY r_cntui_new_field_defns
       
    69     {
       
    70     items=
       
    71         {
       
    72 // home or personal jobbies
       
    73         FIELD	// Name: last name
       
    74 			{
       
    75 			fieldStorageType = KStorageTypeText;
       
    76 			contactFieldType = KUidContactFieldFamilyNameValue;
       
    77 			vCardMapping = KIntContactFieldVCardMapUnusedN;
       
    78 			category = EContactCategoryHome;
       
    79 			fieldName = qtn_phob_lbl_last_name;
       
    80 			},
       
    81         FIELD	// Name: first name
       
    82 			{
       
    83 			fieldStorageType = KStorageTypeText;
       
    84 			contactFieldType = KUidContactFieldGivenNameValue;
       
    85 			vCardMapping = KIntContactFieldVCardMapUnusedN;
       
    86 			category = EContactCategoryHome;
       
    87 			fieldName = qtn_phob_lbl_first_name;
       
    88 			},
       
    89         FIELD	// Phone Number (Home)
       
    90 			{
       
    91 			fieldStorageType = KStorageTypeText;
       
    92 			contactFieldType = KUidContactFieldPhoneNumberValue;
       
    93 			vCardMapping = KIntContactFieldVCardMapTEL;
       
    94 			extraMapping=
       
    95 			    {
       
    96                 // NOTE: Ordering differs from contact model default template
       
    97 			    MAPPING { mapping=KIntContactFieldVCardMapVOICE; },
       
    98                 MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
    99 			    };
       
   100 			category = EContactCategoryHome;
       
   101             fieldName = qtn_phob_lbl_number_home;
       
   102 			},
       
   103         FIELD	// Phone Number Mobile  (Home)
       
   104 			{
       
   105 			fieldStorageType = KStorageTypeText;
       
   106 			contactFieldType = KUidContactFieldPhoneNumberValue;
       
   107 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   108 			extraMapping=
       
   109 			    {
       
   110                 // NOTE: Ordering differs from contact model default template
       
   111 			    MAPPING { mapping=KIntContactFieldVCardMapCELL; },
       
   112                 MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   113 			    };
       
   114 			category = EContactCategoryHome;
       
   115 			fieldName = qtn_phob_lbl_number_mobile_home;
       
   116 			},
       
   117         FIELD	// Fax Number (Home)
       
   118 			{
       
   119 			fieldStorageType = KStorageTypeText;
       
   120 			contactFieldType = KUidContactFieldFaxValue;
       
   121 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   122 			extraMapping=
       
   123 			    {
       
   124                 // NOTE: Ordering differs from contact model default template
       
   125 			    MAPPING { mapping=KIntContactFieldVCardMapFAX; },
       
   126                 MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   127 			    };
       
   128 			category = EContactCategoryHome;
       
   129 			fieldName = qtn_phob_lbl_fax_home;
       
   130 			},
       
   131         FIELD	// Email Address (Home)
       
   132 			{
       
   133 			fieldStorageType = KStorageTypeText;
       
   134 			contactFieldType = KUidContactFieldEMailValue;
       
   135 			vCardMapping = KIntContactFieldVCardMapEMAILINTERNET;
       
   136 			extraMapping=
       
   137 			    {
       
   138 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   139                 };
       
   140 			category = EContactCategoryHome;
       
   141 			fieldName = qtn_phob_lbl_email_home;
       
   142 			},
       
   143         FIELD	// URL (Home)
       
   144 			{
       
   145 			fieldStorageType = KStorageTypeText;
       
   146 			contactFieldType = KUidContactFieldUrlValue;
       
   147 			vCardMapping = KIntContactFieldVCardMapURL;
       
   148 			extraMapping=
       
   149 			    {
       
   150 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   151 			    };
       
   152 			category = EContactCategoryHome;
       
   153 			fieldName = qtn_phob_lbl_url_home;
       
   154 			},
       
   155 		FIELD	// Label Address (Home)
       
   156 			{
       
   157             // NOTE: This data differs from contact model default template
       
   158 			fieldStorageType = KStorageTypeText;
       
   159 			contactFieldType = KUidContactFieldAddressValue;
       
   160 			vCardMapping = KIntContactFieldVCardMapLABEL;
       
   161 			extraMapping=
       
   162 			    {
       
   163 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   164 			    };
       
   165 			category = EContactCategoryHome;
       
   166 			fieldName = qtn_phob_lbl_address_home;
       
   167 			},
       
   168 		FIELD   // P.O.box (Home)
       
   169 			{
       
   170 			fieldStorageType=KStorageTypeText;
       
   171 			contactFieldType=KUidContactFieldPostOfficeValue;
       
   172 			vCardMapping=KIntContactFieldVCardMapPOSTOFFICE;
       
   173 			extraMapping=
       
   174 			    {
       
   175 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   176 			    };
       
   177 			category=EContactCategoryHome;
       
   178 			fieldName=qtn_phob_lbl_pobox_home; 
       
   179 			},
       
   180 		FIELD   // Extension address (Home)
       
   181 			{
       
   182 			fieldStorageType=KStorageTypeText;
       
   183 			contactFieldType=KUidContactFieldExtendedAddressValue;
       
   184 			vCardMapping=KIntContactFieldVCardMapEXTENDEDADR;
       
   185 			extraMapping=
       
   186 			    {
       
   187 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   188 			    };
       
   189 			category=EContactCategoryHome;
       
   190 			fieldName=qtn_phob_lbl_extencion_home;
       
   191 			},
       
   192 		FIELD   // Street (Home)
       
   193 			{
       
   194 			fieldStorageType=KStorageTypeText;
       
   195 			contactFieldType=KUidContactFieldAddressValue;
       
   196 			vCardMapping=KIntContactFieldVCardMapADR;
       
   197 			extraMapping=
       
   198 			    {
       
   199 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   200 			    };
       
   201 			category=EContactCategoryHome;
       
   202 			fieldName=qtn_phob_lbl_street_home;
       
   203 		    },
       
   204         FIELD   // Postal code (Home)
       
   205 			{
       
   206 			fieldStorageType=KStorageTypeText;
       
   207 			contactFieldType=KUidContactFieldPostCodeValue;
       
   208 			vCardMapping=KIntContactFieldVCardMapPOSTCODE;
       
   209 			extraMapping=
       
   210 			    {
       
   211 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   212 			    };
       
   213 			category=EContactCategoryHome;
       
   214 			fieldName=qtn_phob_lbl_postal_code_home;
       
   215             },
       
   216         FIELD   // City (Home)
       
   217 			{
       
   218 			fieldStorageType=KStorageTypeText;
       
   219 			contactFieldType=KUidContactFieldLocalityValue;
       
   220 			vCardMapping=KIntContactFieldVCardMapLOCALITY;
       
   221 			extraMapping=
       
   222 			    {
       
   223 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   224 			    };
       
   225 			category=EContactCategoryHome;
       
   226 			fieldName=qtn_phob_lbl_city_home;
       
   227 			},
       
   228 		FIELD   // State (Home)
       
   229 			{
       
   230 			fieldStorageType=KStorageTypeText;
       
   231 			contactFieldType=KUidContactFieldRegionValue;
       
   232 			vCardMapping=KIntContactFieldVCardMapREGION;
       
   233 			extraMapping=
       
   234 			    {
       
   235 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   236 			    };
       
   237 			category=EContactCategoryHome;
       
   238 			fieldName=qtn_phob_lbl_state_home;
       
   239 			},
       
   240 		FIELD   // Country (Home)
       
   241 			{
       
   242 			fieldStorageType=KStorageTypeText;
       
   243 			contactFieldType=KUidContactFieldCountryValue;
       
   244 			vCardMapping=KIntContactFieldVCardMapCOUNTRY;
       
   245 			extraMapping=
       
   246 			    {
       
   247 			    MAPPING { mapping=KIntContactFieldVCardMapHOME; }
       
   248 			    };
       
   249 			category=EContactCategoryHome;
       
   250 			fieldName=qtn_phob_lbl_country_home;
       
   251 			},
       
   252 
       
   253 
       
   254 // work related
       
   255         FIELD	// Job Title
       
   256 			{
       
   257 			fieldStorageType = KStorageTypeText;
       
   258 			contactFieldType = KUidContactFieldJobTitleValue;
       
   259 			vCardMapping = KIntContactFieldVCardMapTITLE;
       
   260 			category = EContactCategoryWork;
       
   261 			fieldName = qtn_phob_lbl_job_title;
       
   262 			},
       
   263         FIELD	// Company Name
       
   264 			{
       
   265 			fieldStorageType = KStorageTypeText;
       
   266 			contactFieldType = KUidContactFieldCompanyNameValue;
       
   267 			vCardMapping = KIntContactFieldVCardMapORG;
       
   268 			category = EContactCategoryWork;
       
   269 			fieldName = qtn_phob_lbl_company_name;
       
   270 			},
       
   271         FIELD	// Phone Number (Work)
       
   272 			{
       
   273 			fieldStorageType = KStorageTypeText;
       
   274 			contactFieldType = KUidContactFieldPhoneNumberValue;
       
   275 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   276 			extraMapping=
       
   277 			    {
       
   278                 // NOTE: Ordering differs from contact model default template
       
   279 			    MAPPING { mapping=KIntContactFieldVCardMapVOICE; },
       
   280 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   281 			    };
       
   282 			category = EContactCategoryWork;
       
   283 			fieldName = qtn_phob_lbl_number_work;
       
   284 			},
       
   285         FIELD	// Phone Number Mobile  (Work)
       
   286 			{
       
   287 			fieldStorageType = KStorageTypeText;
       
   288 			contactFieldType = KUidContactFieldPhoneNumberValue;
       
   289 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   290 			extraMapping=
       
   291 			    {
       
   292                 // NOTE: Contact model default template has mapping: WORK,VOICE,CELL
       
   293 			    MAPPING { mapping=KIntContactFieldVCardMapCELL; },
       
   294                 MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   295 			    };
       
   296 			category = EContactCategoryWork;
       
   297 			fieldName = qtn_phob_lbl_number_mobile_work;
       
   298 			},
       
   299         FIELD	// Fax Number (Work)
       
   300 			{
       
   301 			fieldStorageType = KStorageTypeText;
       
   302 			contactFieldType = KUidContactFieldFaxValue;
       
   303 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   304 			extraMapping=
       
   305 			    {
       
   306                 // NOTE: Ordering differs from contact model default template
       
   307 			    MAPPING { mapping=KIntContactFieldVCardMapFAX; },
       
   308                 MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   309 			    };
       
   310 			category = EContactCategoryWork;
       
   311 			fieldName = qtn_phob_lbl_fax_work;
       
   312 			},
       
   313         FIELD	// Email Address (Work)
       
   314 			{
       
   315 			fieldStorageType = KStorageTypeText;
       
   316 			contactFieldType = KUidContactFieldEMailValue;
       
   317 			vCardMapping = KIntContactFieldVCardMapEMAILINTERNET;
       
   318 			extraMapping=
       
   319 			    {
       
   320 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   321                 };
       
   322 			category = EContactCategoryWork;
       
   323 			fieldName = qtn_phob_lbl_email_work;
       
   324 			},
       
   325         FIELD	// URL (Work)
       
   326 			{
       
   327 			fieldStorageType = KStorageTypeText;
       
   328 			contactFieldType = KUidContactFieldUrlValue;
       
   329 			vCardMapping = KIntContactFieldVCardMapURL;
       
   330 			extraMapping=
       
   331 			    {
       
   332 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   333 			    };
       
   334 			category = EContactCategoryWork;
       
   335 			fieldName = qtn_phob_lbl_url_work;
       
   336 			},
       
   337 		FIELD	// Label Address (Work)
       
   338 			{
       
   339 			fieldStorageType = KStorageTypeText;
       
   340 			contactFieldType = KUidContactFieldAddressValue;
       
   341 			vCardMapping = KIntContactFieldVCardMapLABEL;
       
   342 			extraMapping=
       
   343 			    {
       
   344 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   345 			    };
       
   346 			category = EContactCategoryWork;
       
   347 			fieldName = qtn_phob_lbl_address_work;
       
   348 			},
       
   349 		FIELD   // P.O.box (Work)
       
   350 			{
       
   351 			fieldStorageType=KStorageTypeText;
       
   352 			contactFieldType=KUidContactFieldPostOfficeValue;
       
   353 			vCardMapping=KIntContactFieldVCardMapPOSTOFFICE;
       
   354 			extraMapping=
       
   355 			    {
       
   356 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   357 			    };
       
   358 			category=EContactCategoryWork;
       
   359 			fieldName=qtn_phob_lbl_pobox_work; 
       
   360 			},
       
   361 		FIELD   // Extension address (work)
       
   362 			{
       
   363 			fieldStorageType=KStorageTypeText;
       
   364 			contactFieldType=KUidContactFieldExtendedAddressValue;
       
   365 			vCardMapping=KIntContactFieldVCardMapEXTENDEDADR;
       
   366 			extraMapping=
       
   367 			    {
       
   368 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   369 			    };
       
   370 			category=EContactCategoryWork;
       
   371 			fieldName=qtn_phob_lbl_extencion_work;
       
   372 			},
       
   373 		FIELD   // Street (Work)
       
   374 			{
       
   375 			fieldStorageType=KStorageTypeText;
       
   376 			contactFieldType=KUidContactFieldAddressValue;
       
   377 			vCardMapping=KIntContactFieldVCardMapADR;
       
   378 			extraMapping=
       
   379 			    {
       
   380 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   381 			    };
       
   382 			category=EContactCategoryWork;
       
   383 			fieldName=qtn_phob_lbl_street_work;
       
   384             },
       
   385 		FIELD   // Postal code (Work)
       
   386 			{
       
   387 			fieldStorageType=KStorageTypeText;
       
   388 			contactFieldType=KUidContactFieldPostCodeValue;
       
   389 			vCardMapping=KIntContactFieldVCardMapPOSTCODE;
       
   390 			extraMapping=
       
   391 			    {
       
   392 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   393 			    };
       
   394 			category=EContactCategoryWork;
       
   395 			fieldName=qtn_phob_lbl_postal_code_work;
       
   396             },
       
   397         FIELD   // City (Work)
       
   398 			{
       
   399 			fieldStorageType=KStorageTypeText;
       
   400 			contactFieldType=KUidContactFieldLocalityValue;
       
   401 			vCardMapping=KIntContactFieldVCardMapLOCALITY;
       
   402 			extraMapping=
       
   403 			    {
       
   404 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   405 			    };
       
   406 			category=EContactCategoryWork;
       
   407 			fieldName=qtn_phob_lbl_city_work;
       
   408 			},
       
   409 		FIELD   // State (work)
       
   410 			{
       
   411 			fieldStorageType=KStorageTypeText;
       
   412 			contactFieldType=KUidContactFieldRegionValue;
       
   413 			vCardMapping=KIntContactFieldVCardMapREGION;
       
   414 			extraMapping=
       
   415 			    {
       
   416 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   417 			    };
       
   418 			category=EContactCategoryWork;
       
   419 			fieldName=qtn_phob_lbl_state_work;
       
   420 			},
       
   421 		FIELD   // Country (Work)
       
   422 			{
       
   423 			fieldStorageType=KStorageTypeText;
       
   424 			contactFieldType=KUidContactFieldCountryValue;
       
   425 			vCardMapping=KIntContactFieldVCardMapCOUNTRY;
       
   426 			extraMapping=
       
   427 			    {
       
   428 			    MAPPING { mapping=KIntContactFieldVCardMapWORK; }
       
   429 			    };
       
   430 			category=EContactCategoryWork;
       
   431 			fieldName=qtn_phob_lbl_country_work;
       
   432 			},
       
   433 
       
   434 // general
       
   435         FIELD	// Phone Number (general)
       
   436 			{
       
   437 			fieldStorageType = KStorageTypeText;
       
   438 			contactFieldType = KUidContactFieldPhoneNumberValue;
       
   439 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   440 			extraMapping=
       
   441 			    {
       
   442 			    MAPPING { mapping=KIntContactFieldVCardMapVOICE; }
       
   443 			    };
       
   444 			category = EContactCategoryNone;
       
   445 			fieldName = qtn_phob_lbl_number_standard;
       
   446             },
       
   447         FIELD	// Phone Number Mobile (general)
       
   448 			{
       
   449 			fieldStorageType = KStorageTypeText;
       
   450 			contactFieldType = KUidContactFieldPhoneNumberValue;
       
   451 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   452 			extraMapping=
       
   453 			    {
       
   454 			    MAPPING { mapping=KIntContactFieldVCardMapCELL; }
       
   455 			    };
       
   456 			category = EContactCategoryNone;
       
   457 			fieldName = qtn_phob_lbl_number_mobile;
       
   458 			},
       
   459         // NOTE: Contact model default template has only HOME and WORK pager
       
   460         FIELD	// Pager Number
       
   461 			{
       
   462 			fieldStorageType = KStorageTypeText;
       
   463 			contactFieldType = KUidContactFieldPhoneNumberValue;
       
   464 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   465 			extraMapping=
       
   466 			    {
       
   467 			    MAPPING { mapping=KIntContactFieldVCardMapPAGER; }
       
   468 			    };
       
   469 			category = EContactCategoryNone;
       
   470 			fieldName = qtn_phob_lbl_pager;
       
   471 			},
       
   472         FIELD	// Fax Number (general)
       
   473 			{
       
   474 			fieldStorageType = KStorageTypeText;
       
   475 			contactFieldType = KUidContactFieldFaxValue;
       
   476 			vCardMapping = KIntContactFieldVCardMapTEL;
       
   477 			extraMapping=
       
   478 			    {
       
   479 			    MAPPING { mapping=KIntContactFieldVCardMapFAX; }
       
   480 			    };
       
   481 			category = EContactCategoryNone;
       
   482 			fieldName = qtn_phob_lbl_fax;
       
   483 			},
       
   484         
       
   485         FIELD	// Email Address (general)
       
   486 			{
       
   487 			fieldStorageType = KStorageTypeText;
       
   488 			contactFieldType = KUidContactFieldEMailValue;
       
   489 			vCardMapping = KIntContactFieldVCardMapEMAILINTERNET;
       
   490 			category = EContactCategoryNone;
       
   491 			fieldName = qtn_phob_lbl_email;
       
   492 			},
       
   493         FIELD	// URL (general)
       
   494 			{
       
   495 			fieldStorageType = KStorageTypeText;
       
   496 			contactFieldType = KUidContactFieldUrlValue;
       
   497 			vCardMapping = KIntContactFieldVCardMapURL;
       
   498 			category = EContactCategoryNone;
       
   499 			fieldName = qtn_phob_lbl_url;
       
   500 			},
       
   501 		FIELD	// Label Address (general)
       
   502 			{
       
   503             // NOTE: This data differs from contact model default template
       
   504 			fieldStorageType = KStorageTypeText;
       
   505 			contactFieldType = KUidContactFieldAddressValue;
       
   506 			vCardMapping = KIntContactFieldVCardMapLABEL;
       
   507 			category = EContactCategoryNone;
       
   508 			fieldName = qtn_phob_lbl_address;
       
   509 			},
       
   510 		FIELD   // P.O.box (general)
       
   511 			{
       
   512 			fieldStorageType=KStorageTypeText;
       
   513 			contactFieldType=KUidContactFieldPostOfficeValue;
       
   514 			vCardMapping=KIntContactFieldVCardMapPOSTOFFICE;
       
   515 			category=EContactCategoryNone;
       
   516 			fieldName=qtn_phob_lbl_pobox; 
       
   517 			},
       
   518 		FIELD   // Extension address (general)
       
   519 			{
       
   520 			fieldStorageType=KStorageTypeText;
       
   521 			contactFieldType=KUidContactFieldExtendedAddressValue;
       
   522 			vCardMapping=KIntContactFieldVCardMapEXTENDEDADR;
       
   523 			category=EContactCategoryNone;
       
   524 			fieldName=qtn_phob_lbl_extencion;
       
   525 			},
       
   526 		FIELD   // Street (general)
       
   527 			{
       
   528 			fieldStorageType=KStorageTypeText;
       
   529 			contactFieldType=KUidContactFieldAddressValue;
       
   530 			vCardMapping=KIntContactFieldVCardMapADR;
       
   531 			category=EContactCategoryNone;
       
   532 			fieldName=qtn_phob_lbl_street;
       
   533 		    },
       
   534         FIELD   // Postal code (general)
       
   535 			{
       
   536 			fieldStorageType=KStorageTypeText;
       
   537 			contactFieldType=KUidContactFieldPostCodeValue;
       
   538 			vCardMapping=KIntContactFieldVCardMapPOSTCODE;
       
   539 			category=EContactCategoryNone;
       
   540 			fieldName=qtn_phob_lbl_postal_code;
       
   541             },
       
   542         FIELD   // City (general)
       
   543 			{
       
   544 			fieldStorageType=KStorageTypeText;
       
   545 			contactFieldType=KUidContactFieldLocalityValue;
       
   546 			vCardMapping=KIntContactFieldVCardMapLOCALITY;
       
   547 			category=EContactCategoryNone;
       
   548 			fieldName=qtn_phob_lbl_city;
       
   549 			},
       
   550 		FIELD   // State (general)
       
   551 			{
       
   552 			fieldStorageType=KStorageTypeText;
       
   553 			contactFieldType=KUidContactFieldRegionValue;
       
   554 			vCardMapping=KIntContactFieldVCardMapREGION;
       
   555 			category=EContactCategoryNone;
       
   556 			fieldName=qtn_phob_lbl_state;
       
   557 			},
       
   558 		FIELD   // Country (general)
       
   559 			{
       
   560 			fieldStorageType=KStorageTypeText;
       
   561 			contactFieldType=KUidContactFieldCountryValue;
       
   562 			vCardMapping=KIntContactFieldVCardMapCOUNTRY;
       
   563 			category=EContactCategoryNone;
       
   564 			fieldName=qtn_phob_lbl_country;
       
   565 			},
       
   566         // NOTE: There is no DTMF field in the contact model default template
       
   567         FIELD	// DTMF String
       
   568 			{
       
   569 			fieldStorageType = KStorageTypeText;
       
   570 			contactFieldType = KUidContactFieldDTMFValue;
       
   571             // NOTE: DTMF is not imported or exported in vCards
       
   572 			vCardMapping = KIntContactFieldVCardMapUnknown;
       
   573 			category = EContactCategoryOther;
       
   574 			fieldName = qtn_phob_lbl_dtmf;
       
   575             // NOTE: DTMF is not imported or exported with PC Sync
       
   576 			flags=EContactFieldFlagDisabled;
       
   577 			},
       
   578 		FIELD	// Date
       
   579 			{
       
   580 			fieldStorageType = KStorageTypeDateTime;
       
   581 			contactFieldType = KUidContactFieldBirthdayValue;
       
   582 			vCardMapping = KIntContactFieldVCardMapBDAY;
       
   583 			category = EContactCategoryOther;
       
   584 			fieldName = qtn_phob_lbl_date;
       
   585 			},
       
   586         FIELD	// Note
       
   587 			{
       
   588 			fieldStorageType = KStorageTypeText;
       
   589 			contactFieldType = KUidContactFieldNoteValue;
       
   590 			vCardMapping = KIntContactFieldVCardMapNOTE;
       
   591 			category = EContactCategoryOther;
       
   592 			fieldName = qtn_phob_lbl_note;
       
   593 			},
       
   594         // NOTE: There is no corresponding field in the contact model default template
       
   595 		FIELD	// Picture
       
   596 			{
       
   597 			fieldStorageType = KStorageTypeText;
       
   598 			contactFieldType = KUidContactFieldPictureValue;
       
   599             // NOTE: Picture is not imported or exported in vCards
       
   600 			vCardMapping = KIntContactFieldVCardMapUnknown;
       
   601 			category = EContactCategoryNone;
       
   602             // NOTE: Picture is not imported or exported with PC Sync
       
   603 			flags=EContactFieldFlagDisabled;
       
   604 			},
       
   605         // NOTE: Thumbnail is much like PHOTO in contact model default template
       
   606 		FIELD	// Thumbnail Image
       
   607 			{
       
   608 			fieldStorageType = KPbkThumbnailFieldStorageType;
       
   609 			contactFieldType = KUidContactFieldPictureValue;
       
   610 			vCardMapping = KIntContactFieldVCardMapPHOTO;
       
   611 			category = EContactCategoryNone;
       
   612 			},
       
   613         // NOTE: There is no corresponding field in the contact model default template
       
   614 		FIELD	// Personal Ringing Tone Indication
       
   615 			{
       
   616 			fieldStorageType = KStorageTypeText;
       
   617 			contactFieldType = KUidContactFieldRingToneValue;
       
   618             // NOTE: Ringing tone is not imported or exported in vCards
       
   619 			vCardMapping = KIntContactFieldVCardMapUnknown;
       
   620 			category = EContactCategoryNone;
       
   621 			fieldName = qtn_phob_lbl_tone;
       
   622             // NOTE: Ringing tone is not imported or exported with PC Sync
       
   623 			flags=EContactFieldFlagDisabled;
       
   624 			},
       
   625         // NOTE: There is no corresponding field in the contact model default template
       
   626 		FIELD	// Location privacy indicator
       
   627 			{
       
   628 			fieldStorageType = KStorageTypeText;
       
   629 			contactFieldType = KPbkUidContactFieldLocationPrivValue;
       
   630             // NOTE: Locationing privacy is not imported or exported in vCards
       
   631 			vCardMapping = KIntContactFieldVCardMapUnknown;
       
   632 			category = EContactCategoryNone;
       
   633             // NOTE: Locationing privacy is not imported or exported with PC Sync
       
   634             // NOTE: The First(1) custom field. Next field needs to be added after this field
       
   635             // NOTE: Custom filter flags are index/order dependent!
       
   636 			flags=EContactFieldFlagFilterable;
       
   637 			}
       
   638         };
       
   639     }
       
   640 
       
   641 
       
   642 // End of File