/*
* Copyright (c) 2009 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 Remote Contact Lookup Service
*
*/

#include <VPbkFieldType.rh>

// RESOURCE IDENTIFIER
NAME    FSBC // 4 letter ID

// INCLUDE FILES
#include <eikon.rh>
#include <avkon.rsg>
#include <avkon.rh>
#include <avkon.mbg>
#include <avkon.loc>
#include <appinfo.rh>
#include <data_caging_paths_strings.hrh>
#include <eikon.hrh>

#include "fsccontactactionserviceuids.hrh"

#include <phonebook2.loc>
#include <phonebook2ece.loc>

// RESOURCE DEFINITIONS 

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = ""; }

RESOURCE TBUF r_fs_action_send_businsess_card  { buf = qtn_phob_longtap_send; }


// -----------------------------------------------------------------------------
//
//    Localizable application information
//
// -----------------------------------------------------------------------------
//
RESOURCE LOCALISABLE_APP_INFO r_fssendbcplugin_localisable_app_info
    {
    short_caption = qtn_phob_longtap_send;
    caption_and_icon = 
    CAPTION_AND_ICON_INFO
        {
        caption = qtn_phob_longtap_send;
        number_of_icons = 1;
        icon_file = "\\resource\\apps\\pbk2rclsendbusinesscardplugin.mif";
        };
    }    


// Field type for lastname name
RESOURCE VPBK_FIELD_TYPE_MAPPING_LIST r_fssendbc_lname_field_type
    {            
    items =
        {
        VPBK_FIELD_TYPE_MAPPING
            {
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNameN;
                subField = EVPbkVersitSubFieldFamilyName;
                };
            } 
        };
    }
    
// Field type for first name
RESOURCE VPBK_FIELD_TYPE_MAPPING_LIST r_fssendbc_fname_field_type
    {            
    items =
        {
        VPBK_FIELD_TYPE_MAPPING
            {
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNameN;
                subField = EVPbkVersitSubFieldGivenName;
                };
            } 
        };
    }    
    


// Field type for thumbnail image
RESOURCE VPBK_FIELD_TYPE_MAPPING_LIST r_fssendbc_thumbnail_field_type
    {            
    items =
        {
        VPBK_FIELD_TYPE_MAPPING
            {
            versitProperty = VBK_FIELD_VERSIT_PROPERTY
                {
                name = EVPbkVersitNamePHOTO;
                };
            } 
        };
    }   


// Field type for image for call (gallery filename)
RESOURCE VPBK_FIELD_TYPE_MAPPING_LIST r_fssendbc_image_field_type
    {            
    items =
        {
        VPBK_FIELD_TYPE_MAPPING
            {
            versitProperty = VBK_FIELD_VERSIT_PROPERTY {};
            nonVersitType = EVPbkNonVersitTypeCodImage;
            }
        };
    }



/**
 * 'Select fields to send' listbox for contact list views.
 */
RESOURCE LISTBOX r_fssendbc_send_options
    {
    array_id = r_fssendbc_send_options_texts;
    flags = EAknListBoxMenuList;
    }


/**
 * 'Select fields to send' listbox texts for contact list views.
 */
RESOURCE ARRAY r_fssendbc_send_options_texts
    {
    items = 
        {
        LBUF { txt=qtn_bcard_send_sms_no_image; },
        LBUF { txt=qtn_bcard_send_sms_image; }
        };
    }

/**
 * 'Select fields to send' listbox for contact info view.
 */
RESOURCE LISTBOX r_fssendbc_contactinfo_send_options
    {
    array_id = r_fssendbc_contactinfo_send_options_texts; 
    flags = EAknListBoxMenuList;
    }


/**
 * 'Select fields to send' listbox for contact info view.
 */
RESOURCE LISTBOX r_fssendbc_contactinfo_send_options_sms_thumbnail
    {
    array_id = r_fssendbc_contactinfo_send_options_texts_sms_thumbnail; 
    flags = EAknListBoxMenuList;
    }


/**
 * 'Select fields to send' listbox for contact info view.
 */
RESOURCE LISTBOX r_fssendbc_contactinfo_send_options_sms_thumbnail_no_field
    {
    array_id = r_fssendbc_contactinfo_send_options_texts_sms_thumbnail_no_field;
    flags = EAknListBoxMenuList;
    }

/**
 * 'Select fields to send' listbox texts for contact info view.
 */
RESOURCE ARRAY r_fssendbc_contactinfo_send_options_texts
    {
    items = 
        {
        LBUF { txt=qtn_bcard_choice_send_item_data; },
        LBUF { txt=qtn_bcard_choice_send_all_data; }
        };
    }

/**
 * 'Select fields to send' listbox texts for contact info view.
 */
RESOURCE ARRAY r_fssendbc_contactinfo_send_options_texts_sms_thumbnail
    {
    items = 
        {
        LBUF { txt=qtn_bcard_choice_send_item_data; },
        LBUF { txt=qtn_bcard_send_detail_without_p; },  
        LBUF { txt=qtn_bcard_send_detail_with_pict; }
        };
    }


/**
 * 'Select fields to send' listbox texts for contact info view.
 */
RESOURCE ARRAY r_fssendbc_contactinfo_send_options_texts_sms_thumbnail_no_field
    {
    items = 
        {
        LBUF { txt=qtn_bcard_send_detail_without_p; },
        LBUF { txt=qtn_bcard_send_detail_with_pict; }
        };
    }
    
RESOURCE TBUF r_fssendbc_businesscard_send_heading
    { 
    buf = qtn_bcard_qtl_send_data; 
    }

// End of file


