/*
* Copyright (c) 2002-2006 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:   Resource definitions for project VCardBC
*
*/



//  RESOURCE IDENTIFIER

NAME    CDBC

//  INCLUDES

#include <eikon.rh>
#include "eikon.rsg"
#include <avkon.rsg>
#include <avkon.rh>
#include <VPbkFieldType.rh>

#include <vcardbc.loc> // Localisable text
#include <phonebook2.loc>

//  RESOURCE DEFINITIONS

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF
    {
    buf = "vcdbc";
    }

RESOURCE TBUF r_qtn_sm_add_phonebook
    {
    buf = qtn_sm_add_phonebook;
    }
RESOURCE TBUF r_qtn_phob_pb_info_memory_phone
    {
    buf = qtn_phob_pb_info_memory_phone;
    }
RESOURCE TBUF r_qtn_phob_pb_info_memory_sim
    {    
    buf = qtn_phob_pb_info_memory_sim;
    }
RESOURCE TBUF r_qtn_sm_title_business_card
    {
    buf = qtn_sm_title_business_card;
    }

RESOURCE TBUF r_qtn_bcard_saved_to_pb_as_new
    {
    buf = qtn_bcard_saved_to_pb_as_new;
    }

RESOURCE DIALOG r_vcard_store_query
    {
    flags=EGeneralQueryFlags;
    buttons=R_AVKON_SOFTKEYS_YES_NO__YES;
    items=
        {
        DLG_LINE
            {
            type=EAknCtQuery;
            id=EGeneralQuery;
            control = AVKON_CONFIRMATION_QUERY 
                { 
                    layout = EConfirmationLayout;
                    label = qtn_phob_query_create_new_to_store;
                };
            }
        };
    }
// --------------------------------------------------------------------------
//  Selector for phone number fields
// --------------------------------------------------------------------------
//
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_messaging_phonenumber_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            extensionName = "X-ASSISTANT-TEL";
            }
        };
    }
    
    
// --------------------------------------------------------------------------
// Resource for syncronization field selection
// --------------------------------------------------------------------------
//
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_messaging_syncronization_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name       = EVPbkVersitNameX;
            extensionName = "X-CLASS";
            }
        };
    }
// End of File
