uiservicetab/vimpstdetailsviewplugin/data/vimpstdetailfields.rss
branchRCL_3
changeset 28 3104fc151679
parent 27 2b7283837edb
child 29 9a48e301e94b
equal deleted inserted replaced
27:2b7283837edb 28:3104fc151679
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Implementation of detailsview contact editer field array
       
    15  *
       
    16 */
       
    17 
       
    18  
       
    19 #include "vimpstdetailfields.rh"
       
    20 #include "vimpstdetailsview.hrh"
       
    21 
       
    22 #include <VPbkEng.rsg>
       
    23 #include <cntdef.hrh>
       
    24 
       
    25 /**
       
    26  * Additional information to the default contact card template array 
       
    27  * r_cntui_new_field_defns in cntmodel.rss.
       
    28  * IMPORTANT: this array is mapped 1-1 to the template array. The items 
       
    29  * must be in the same order as in the template array.
       
    30  *
       
    31  * @see cntmodel.rss
       
    32  * @see VIMPST_FIELD
       
    33  * @see CPbkFieldInfo
       
    34  */
       
    35    
       
    36 
       
    37 RESOURCE VIMPST_FIELD_ARRAY r_vimpst_field_properties
       
    38     {
       
    39     items =
       
    40         {
       
    41         VIMPST_FIELD     // status message
       
    42             {
       
    43             fieldTypeResId      = R_VPBK_FIELD_TYPE_GENLABEL;
       
    44             Id                  = EVIMPSTFieldIdStatusMsg;
       
    45             MaxLength           = 100;
       
    46             IconId              = EVIMPSTServiceIconEmpty;
       
    47             DisplayLabel		= qtn_servdetail_lbl_statusmessage;
       
    48             },
       
    49         VIMPST_FIELD     // display Name
       
    50             {
       
    51             fieldTypeResId      = R_VPBK_FIELD_TYPE_SECONDNAME;
       
    52             Id                  = EVIMPSTFieldIdDisplayName;
       
    53             MaxLength           = 100;
       
    54             IconId              = EVIMPSTServiceIconEmpty;
       
    55             DisplayLabel		= qtn_servdetail_lbl_nickname;
       
    56             },
       
    57         VIMPST_FIELD     // impp
       
    58             {
       
    59             fieldTypeResId      = R_VPBK_FIELD_TYPE_IMPP;
       
    60             Id                  = EVIMPSTFieldIdImpp;
       
    61             MaxLength           = 100;
       
    62             IconId              = EVIMPSTServiceIconService;
       
    63             DisplayLabel		= qtn_servdetail_lbl_userid;
       
    64             },
       
    65         VIMPST_FIELD     // Email Address 
       
    66             {
       
    67             fieldTypeResId      = R_VPBK_FIELD_TYPE_EMAILHOME;
       
    68             Id                  = EVIMPSTFieldIdEmailAddress;
       
    69             MaxLength           = 100;
       
    70             IconId              = EVIMPSTServiceIconService;
       
    71             DisplayLabel		= "";
       
    72             },
       
    73         VIMPST_FIELD     // Email Address 
       
    74             {
       
    75             fieldTypeResId      = R_VPBK_FIELD_TYPE_EMAILWORK;
       
    76             Id                  = EVIMPSTFieldIdEmailWork;
       
    77             MaxLength           = 100;
       
    78             IconId              = EVIMPSTServiceIconService;
       
    79             DisplayLabel		= "";
       
    80             },
       
    81         VIMPST_FIELD     // Email Address 
       
    82             {
       
    83             fieldTypeResId      = R_VPBK_FIELD_TYPE_EMAILGEN;
       
    84             Id                  = EVIMPSTFieldIdEmailGen;
       
    85             MaxLength           = 100;
       
    86             IconId              = EVIMPSTServiceIconService;
       
    87             DisplayLabel		= "";
       
    88             },
       
    89         VIMPST_FIELD    // 
       
    90             {
       
    91             fieldTypeResId 		= R_VPBK_FIELD_TYPE_FIRSTNAME;
       
    92             Id                  = EVIMPSTFieldIdFirstName;
       
    93             MaxLength           = 100;
       
    94             IconId              = EVIMPSTServiceIconEmpty;
       
    95             DisplayLabel		= qtn_servdetail_lbl_firstname;
       
    96             },
       
    97         VIMPST_FIELD
       
    98             {
       
    99             fieldTypeResId 		= R_VPBK_FIELD_TYPE_LASTNAME;
       
   100             Id                  = EVIMPSTFieldIdLastName;
       
   101             MaxLength           = 100;
       
   102             IconId              = EVIMPSTServiceIconEmpty;
       
   103             DisplayLabel		= qtn_servdetail_lbl_lastname;
       
   104              },
       
   105         VIMPST_FIELD
       
   106             {
       
   107             fieldTypeResId 		= R_VPBK_FIELD_TYPE_MIDDLENAME;
       
   108             Id                  = EVIMPSTFieldIdMiddleName;
       
   109             MaxLength           = 100;
       
   110             IconId              = EVIMPSTServiceIconEmpty;
       
   111             DisplayLabel		= qtn_servdetail_lbl_middlename;
       
   112             }, 
       
   113         VIMPST_FIELD
       
   114             {
       
   115             fieldTypeResId 		= R_VPBK_FIELD_TYPE_WVADDRESS;
       
   116             Id                  = EVIMPSTFieldIdWvAddress;
       
   117             MaxLength           = 100;
       
   118             IconId              = EVIMPSTServiceIconService;
       
   119             DisplayLabel		= "";
       
   120             },  
       
   121         VIMPST_FIELD
       
   122             {
       
   123             fieldTypeResId 		= R_VPBK_FIELD_TYPE_SIP;
       
   124             Id                  = EVIMPSTFieldIdEmailSip;
       
   125             MaxLength           = 100;
       
   126             IconId              = EVIMPSTServiceIconService;
       
   127             DisplayLabel		= "";
       
   128             }, 
       
   129         VIMPST_FIELD
       
   130             {
       
   131             fieldTypeResId 		= R_VPBK_FIELD_TYPE_VOIPHOME;
       
   132             Id                  = EVIMPSTFieldIdVoipHome;
       
   133             MaxLength           = 100;
       
   134             IconId              = EVIMPSTServiceIconService;
       
   135             DisplayLabel		= "";
       
   136             },
       
   137         VIMPST_FIELD
       
   138             {
       
   139             fieldTypeResId 		= R_VPBK_FIELD_TYPE_VOIPWORK;
       
   140             Id                  = EVIMPSTFieldIdVoipWork;
       
   141             MaxLength           = 100;
       
   142             IconId              = EVIMPSTServiceIconService;
       
   143             DisplayLabel		= "";
       
   144             }, 
       
   145         VIMPST_FIELD
       
   146             {
       
   147             fieldTypeResId 		= R_VPBK_FIELD_TYPE_VOIPGEN;
       
   148             Id                  = EVIMPSTFieldIdVoipGen;
       
   149             MaxLength           = 100;
       
   150             IconId              = EVIMPSTServiceIconService;
       
   151             DisplayLabel		= "";
       
   152             }, 
       
   153         VIMPST_FIELD
       
   154             {
       
   155             fieldTypeResId 		= R_VPBK_FIELD_TYPE_DEPARTMENT;
       
   156             Id                  = EVIMPSTFieldIdDepartment;
       
   157             MaxLength           = 100;
       
   158             IconId              = EVIMPSTServiceIconEmpty;
       
   159             DisplayLabel		= qtn_servdetail_lbl_organisation;
       
   160             },  
       
   161        	VIMPST_FIELD
       
   162             {
       
   163             fieldTypeResId 		= R_VPBK_FIELD_TYPE_ADDRCOUNTRYHOME;
       
   164             Id                  = EVIMPSTFieldIdCountryHome;
       
   165             MaxLength           = 100;
       
   166             IconId              = EVIMPSTServiceIconEmpty;
       
   167             DisplayLabel		= "";
       
   168             }, 
       
   169         VIMPST_FIELD
       
   170             {
       
   171             fieldTypeResId		= R_VPBK_FIELD_TYPE_ADDRCOUNTRYGEN;
       
   172             Id                  = EVIMPSTFieldIdCountryGen;
       
   173             MaxLength           = 100;
       
   174             IconId              = EVIMPSTServiceIconEmpty;
       
   175             DisplayLabel		= qtn_servdetail_lbl_country;
       
   176             },
       
   177         VIMPST_FIELD
       
   178             {
       
   179             fieldTypeResId      = R_VPBK_FIELD_TYPE_NOTE;
       
   180             Id                  = EVIMPSTFieldIdAbout;
       
   181             MaxLength           = 100;
       
   182             IconId              = EVIMPSTServiceIconEmpty;
       
   183             DisplayLabel        = "";
       
   184             },
       
   185         VIMPST_FIELD
       
   186             {
       
   187             fieldTypeResId      = R_VPBK_FIELD_TYPE_URLGEN;
       
   188             Id                  = EVIMPSTFieldIdHomepage;
       
   189             MaxLength           = 100;
       
   190             IconId              = EVIMPSTServiceIconEmpty;
       
   191             DisplayLabel        = "";
       
   192             },
       
   193         VIMPST_FIELD
       
   194             {
       
   195             fieldTypeResId      = R_VPBK_FIELD_TYPE_LANDPHONEHOME;
       
   196             Id                  = EVIMPSTFieldIdHomePhone;
       
   197             MaxLength           = 100;
       
   198             IconId              = EVIMPSTServiceIconEmpty;
       
   199             DisplayLabel        = "";
       
   200             },
       
   201         VIMPST_FIELD
       
   202             {
       
   203             fieldTypeResId      = R_VPBK_FIELD_TYPE_MOBILEPHONEGEN;
       
   204             Id                  = EVIMPSTFieldIdMobilePhone;
       
   205             MaxLength           = 100;
       
   206             IconId              = EVIMPSTServiceIconEmpty;
       
   207             DisplayLabel        = "";
       
   208             },
       
   209         VIMPST_FIELD
       
   210             {
       
   211             fieldTypeResId      = R_VPBK_FIELD_TYPE_LANDPHONEWORK;
       
   212             Id                  = EVIMPSTFieldIdOfficePhone;
       
   213             MaxLength           = 100;
       
   214             IconId              = EVIMPSTServiceIconEmpty;
       
   215             DisplayLabel        = "";
       
   216             },
       
   217         VIMPST_FIELD
       
   218             {
       
   219             fieldTypeResId      = R_VPBK_FIELD_TYPE_ANNIVERSARY;
       
   220             Id                  = EVIMPSTFieldIdBirthday;
       
   221             MaxLength           = 100;
       
   222             IconId              = EVIMPSTServiceIconEmpty;
       
   223             DisplayLabel        = "";
       
   224             }
       
   225         };
       
   226     }