/*
* Copyright (c) 2005-2007 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:  
*
*/


// INCLUDES
#include <badef.rh>
#include <VPbkFieldType.rh>
#include <VPbkFieldType.hrh>
#include <VPbkSimCntFieldTypes.hrh>
#include "FieldTypeMapping.rh"

// RESOURCES

RESOURCE BA_RSS_SIGNATURE { }

RESOURCE FIELDTYPE_MAPPINGS r_vpbk_versit_field_type_mappings
    {
    items =
        {
        // SIM name = Last name
        VERSIT_FIELDTYPE_MAPPING
            {
            simFieldId = EVPbkSimName;
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNameN;
                subField = EVPbkVersitSubFieldFamilyName;
                };
            },
        // USIM second name = reading in japanese variant
        VERSIT_FIELDTYPE_MAPPING
            {
            simFieldId = EVPbkSimReading;
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNameSOUND;
                subField = EVPbkVersitSubFieldFamilyNamePronunciation;
                };
            },
        // SIM GSM number = general mobile
        VERSIT_FIELDTYPE_MAPPING
            {
            simFieldId = EVPbkSimGsmNumber;
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNameTEL;
                parameters = { EVPbkVersitParamCELL };
                };
            },
        // USIM additional numbers = general mobile
        VERSIT_FIELDTYPE_MAPPING
            {
            simFieldId = EVPbkSimAdditionalNumber;
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNameTEL;
                parameters = { EVPbkVersitParamCELL };
                };
            },
        // USIM email = general email
        VERSIT_FIELDTYPE_MAPPING
            {
            simFieldId = EVPbkSimEMailAddress;
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNameEMAIL;
                parameters = 
                    {
                    EVPbkVersitParamINTERNET
                    };
                };
            },
        // USIM second name = nick name in variants other than japan
        VERSIT_FIELDTYPE_MAPPING
            {
            simFieldId = EVPbkSimNickName;
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNameX;
                extensionName = "X-NICKNAME";
                };
            }
        };
    }

// When nickname has removed this is empty, could this be removed?
RESOURCE FIELDTYPE_MAPPINGS r_vpbk_nonversit_field_type_mappings
    {
    items = 
        {
        };
    }

// End of File
