/*
* Copyright (c) 2002-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:  Collection of field type selector resources.
*
*/


#include <badef.rh>
#include <VPbkFieldType.rh>

/////////////////////////////////////////////////////////////////////////////
/// Resource signature
///
RESOURCE BA_RSS_SIGNATURE { }

/////////////////////////////////////////////////////////////////////////////
/// Phone number selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_phone_number_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            extensionName = "X-ASSISTANT-TEL";
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Mobile number selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_mobile_number_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            parameters =
                {
                EVPbkVersitParamCELL
                };
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Fax number selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_fax_number_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            parameters =
                {
                EVPbkVersitParamFAX
                };
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Video number selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_video_number_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            parameters =
                {
                EVPbkVersitParamVIDEO
                };
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Pager number selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_pager_number_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            parameters =
                {
                EVPbkVersitParamPAGER
                };
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Email address selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_email_address_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameEMAIL;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Address selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_address_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldCountry;
            parameters =
                {
                EVPbkVersitParamHOME
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldLocality;
            parameters =
                {
                EVPbkVersitParamHOME
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldStreet;
            parameters =
                {
                EVPbkVersitParamHOME
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldPostalCode;
            parameters =
                {
                EVPbkVersitParamHOME
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldRegion;
            parameters =
                {
                EVPbkVersitParamHOME
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldExtendedAddress;
            parameters =
                {
                EVPbkVersitParamHOME
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldPostOfficeAddress;
            parameters =
                {
                EVPbkVersitParamHOME
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldCountry;
            parameters =
                {
                EVPbkVersitParamWORK
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldLocality;
            parameters =
                {
                EVPbkVersitParamWORK
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldStreet;
            parameters =
                {
                EVPbkVersitParamWORK
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldPostalCode;
            parameters =
                {
                EVPbkVersitParamWORK
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldRegion;
            parameters =
                {
                EVPbkVersitParamWORK
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldExtendedAddress;
            parameters =
                {
                EVPbkVersitParamWORK
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldPostOfficeAddress;
            parameters =
                {
                EVPbkVersitParamWORK
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldCountry;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldLocality;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldStreet;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldPostalCode;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldRegion;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldExtendedAddress;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameADR;
            subField = EVPbkVersitSubFieldPostOfficeAddress;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Email over SMS selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_email_over_sms_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            parameters =
                {
                EVPbkVersitParamCELL
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameEMAIL;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// MMS address selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_mms_address_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            extensionName = "X-ASSISTANT-TEL";
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameEMAIL;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// VoIP address selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_voip_address_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            parameters =
                {
                EVPbkVersitParamVOIP
                };
            extensionName = "X-SIP";
            }
            ,
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameIMPP;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// PTT (push-to-talk) address selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_ptt_address_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            parameters =
                {
                EVPbkVersitParamPOC
                };
            extensionName = "X-SIP";
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// SIP address selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_sip_address_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            extensionName = "X-SIP";
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// SIP & MSISDN address selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_sip_msisdn_address_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            extensionName = "X-SIP";
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            extensionName = "X-ASSISTANT-TEL";
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Thumbnail image selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_thumbnail_image_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNamePHOTO;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameLOGO;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Caller object image selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_cod_image_selector
    {
    nonVersitType =
        {
        EVPbkNonVersitTypeCodImage
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Generic image selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_image_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNamePHOTO;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameLOGO;
            }
        };
    nonVersitType =
        {
        EVPbkNonVersitTypeCodImage
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Caller object text selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_cod_text_selector
    {
    nonVersitType =
        {
        EVPbkNonVersitTypeCodText
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Ringing tone selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_ringing_tone_selector
    {
    nonVersitType =
        {
        EVPbkNonVersitTypeRingTone
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// URL address selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_url_address_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameURL;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Last name selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_last_name_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameN;
            subField = EVPbkVersitSubFieldFamilyName;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// First name selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_first_name_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameN;
            subField = EVPbkVersitSubFieldGivenName;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Last name pronounciation selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_last_name_pronunciation_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameSOUND;
            subField = EVPbkVersitSubFieldFamilyNamePronunciation;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// First name pronounciation selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_first_name_pronunciation_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameSOUND;
            subField = EVPbkVersitSubFieldGivenNamePronunciation;
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// Synchronization selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_synchronization_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name       = EVPbkVersitNameX;
            extensionName = "X-CLASS";
            }
        };
    }

/////////////////////////////////////////////////////////////////////////////
/// DTMF number selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_dtmf_number_selector
    {
    nonVersitType =
        {
        EVPbkNonVersitTypeDTMF
        };
    }

/// Top contact selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_topcontact_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name       = EVPbkVersitNameTopContact;
            }
        };
    }

RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_impp_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameIMPP;
            }
       };
    }

/////////////////////////////////////////////////////////////////////////////
/// Pager & Fax numbers selector
///
RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_pagerfax_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            parameters =
                {
                EVPbkVersitParamPAGER
                };
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            parameters =
                {
                EVPbkVersitParamFAX
                };
            }
        };
    }

RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_voice_call_action_selector
    {
    version = EVPbkFieldTypeSelectorV2;
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            extensionName = "X-ASSISTANT-TEL";
            }
        };

    excludedParameters = {EVPbkVersitParamFAX,EVPbkVersitParamVIDEO};
    }

RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_unieditor_action_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            }
        };
    excludedParameters =
        {
        EVPbkVersitParamFAX, EVPbkVersitParamPAGER,
        EVPbkVersitParamVIDEO, EVPbkVersitParamCAR
        };
    }

RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_voip_call_out_selector
    {
    version = EVPbkFieldTypeSelectorV2;
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            },
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameX;
            extensionName = "X-ASSISTANT-TEL";
            }
        };
    excludedParameters = {EVPbkVersitParamPAGER,EVPbkVersitParamFAX,EVPbkVersitParamVIDEO};
    }

RESOURCE VPBK_FIELD_TYPE_SELECTOR r_vpbk_unieditor_email_action_selector
    {
    versitProperties =
        {
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameTEL;
            },
        // Email fields
        VBK_FIELD_VERSIT_PROPERTY
            {
            name = EVPbkVersitNameEMAIL;
            }
        };
    excludedParameters =
        {
        EVPbkVersitParamFAX, EVPbkVersitParamPAGER,
        EVPbkVersitParamVIDEO, EVPbkVersitParamCAR
        };
    }

	
// End of File
