uiservicetab/vimpstdetailsviewplugin/data/vimpstdetailfields.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 19 Feb 2010 22:41:11 +0200
branchRCL_3
changeset 4 f5911524345e
parent 0 5e5d6b214f4f
permissions -rw-r--r--
Revision: 201003 Kit: 201007

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:  Implementation of detailsview contact editer field array
 *
*/

 
#include "vimpstdetailfields.rh"
#include "vimpstdetailsview.hrh"

#include <VPbkEng.rsg>
#include <cntdef.hrh>

/**
 * Additional information to the default contact card template array 
 * r_cntui_new_field_defns in cntmodel.rss.
 * IMPORTANT: this array is mapped 1-1 to the template array. The items 
 * must be in the same order as in the template array.
 *
 * @see cntmodel.rss
 * @see VIMPST_FIELD
 * @see CPbkFieldInfo
 */
   

RESOURCE VIMPST_FIELD_ARRAY r_vimpst_field_properties
    {
    items =
        {
        VIMPST_FIELD     // status message
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_GENLABEL;
            Id                  = EVIMPSTFieldIdStatusMsg;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel		= qtn_servdetail_lbl_statusmessage;
            },
        VIMPST_FIELD     // display Name
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_SECONDNAME;
            Id                  = EVIMPSTFieldIdDisplayName;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel		= qtn_servdetail_lbl_nickname;
            },
        VIMPST_FIELD     // impp
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_IMPP;
            Id                  = EVIMPSTFieldIdImpp;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= qtn_servdetail_lbl_userid;
            },
        VIMPST_FIELD     // Email Address 
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_EMAILHOME;
            Id                  = EVIMPSTFieldIdEmailAddress;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= "";
            },
        VIMPST_FIELD     // Email Address 
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_EMAILWORK;
            Id                  = EVIMPSTFieldIdEmailWork;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= "";
            },
        VIMPST_FIELD     // Email Address 
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_EMAILGEN;
            Id                  = EVIMPSTFieldIdEmailGen;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= "";
            },
        VIMPST_FIELD    // 
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_FIRSTNAME;
            Id                  = EVIMPSTFieldIdFirstName;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel		= qtn_servdetail_lbl_firstname;
            },
        VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_LASTNAME;
            Id                  = EVIMPSTFieldIdLastName;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel		= qtn_servdetail_lbl_lastname;
             },
        VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_MIDDLENAME;
            Id                  = EVIMPSTFieldIdMiddleName;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel		= qtn_servdetail_lbl_middlename;
            }, 
        VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_WVADDRESS;
            Id                  = EVIMPSTFieldIdWvAddress;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= "";
            },  
        VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_SIP;
            Id                  = EVIMPSTFieldIdEmailSip;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= "";
            }, 
        VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_VOIPHOME;
            Id                  = EVIMPSTFieldIdVoipHome;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= "";
            },
        VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_VOIPWORK;
            Id                  = EVIMPSTFieldIdVoipWork;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= "";
            }, 
        VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_VOIPGEN;
            Id                  = EVIMPSTFieldIdVoipGen;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconService;
            DisplayLabel		= "";
            }, 
        VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_DEPARTMENT;
            Id                  = EVIMPSTFieldIdDepartment;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel		= qtn_servdetail_lbl_organisation;
            },  
       	VIMPST_FIELD
            {
            fieldTypeResId 		= R_VPBK_FIELD_TYPE_ADDRCOUNTRYHOME;
            Id                  = EVIMPSTFieldIdCountryHome;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel		= "";
            }, 
        VIMPST_FIELD
            {
            fieldTypeResId		= R_VPBK_FIELD_TYPE_ADDRCOUNTRYGEN;
            Id                  = EVIMPSTFieldIdCountryGen;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel		= qtn_servdetail_lbl_country;
            },
        VIMPST_FIELD
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_NOTE;
            Id                  = EVIMPSTFieldIdAbout;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel        = "";
            },
        VIMPST_FIELD
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_URLGEN;
            Id                  = EVIMPSTFieldIdHomepage;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel        = "";
            },
        VIMPST_FIELD
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_LANDPHONEHOME;
            Id                  = EVIMPSTFieldIdHomePhone;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel        = "";
            },
        VIMPST_FIELD
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_MOBILEPHONEGEN;
            Id                  = EVIMPSTFieldIdMobilePhone;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel        = "";
            },
        VIMPST_FIELD
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_LANDPHONEWORK;
            Id                  = EVIMPSTFieldIdOfficePhone;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel        = "";
            },
        VIMPST_FIELD
            {
            fieldTypeResId      = R_VPBK_FIELD_TYPE_ANNIVERSARY;
            Id                  = EVIMPSTFieldIdBirthday;
            MaxLength           = 100;
            IconId              = EVIMPSTServiceIconEmpty;
            DisplayLabel        = "";
            }
        };
    }