phonebookui/Phonebook2/remotecontactlookup/contactactionservice/inc/FscDefaultFieldOrdering.hrh
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 10:12:17 +0200
changeset 0 e686773b3f54
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* 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:  Default field ordering.
 *
*/


/**
 * Field type ordering items.
 */
enum TFscOrderingItem
    {
    // Names
    EPbk2OrderingItemPrefix = 1,
    EPbk2OrderingItemPrimaryName,
    EPbk2OrderingItemFirstNameReading,
    EPbk2OrderingItemMiddleName,
    EPbk2OrderingItemSecondaryName,
    EPbk2OrderingItemLastNameReading,
    EPbk2OrderingItemSuffix,
    EPbk2OrderingItemSecondName,

    // Phone numbers
    EPbk2OrderingItemPhoneNumberMobile,
    EPbk2OrderingItemPhoneNumberMobileHome,
    EPbk2OrderingItemPhoneNumberMobileWork,
    EPbk2OrderingItemPhoneNumberGeneral,
    EPbk2OrderingItemPhoneNumberHome,
    EPbk2OrderingItemPhoneNumberWork,

    // Internet addresses
    EPbk2OrderingItemEmailAddress,
    EPbk2OrderingItemEmailAddressHome,
    EPbk2OrderingItemEmailAddressWork,

    // Phone numbers
    EPbk2OrderingItemCarPhone,
    EPbk2OrderingItemPhoneNumberVideo,
    EPbk2OrderingItemPhoneNumberVideoHome,
    EPbk2OrderingItemPhoneNumberVideoWork,
    EPbk2OrderingItemFaxNumber,
    EPbk2OrderingItemFaxNumberHome,
    EPbk2OrderingItemFaxNumberWork,
    EPbk2OrderingItemPagerNumber,
    EPbk2OrderingItemDTMFString,

    EPbk2OrderingItemPhoneNumberVOIP,
    EPbk2OrderingItemPhoneNumberVOIPHome,
    EPbk2OrderingItemPhoneNumberVOIPWork,
    EPbk2OrderingItemPhoneNumberPushToTalk,
    EPbk2OrderingItemPhoneNumberShareView,
    EPbk2OrderingItemPhoneNumberSIPID,

    EPbk2OrderingItemCompanyName,
    EPbk2OrderingItemDepartment,
    EPbk2OrderingItemJobTitle,
    EPbk2OrderingItemAssistantName,
    EPbk2OrderingItemAssistantPhone,
    EPbk2OrderingItemSpouse,
    EPbk2OrderingItemChildren,

    // Internet addresses
    EPbk2OrderingItemWVAddress,
    EPbk2OrderingItemURL,
    EPbk2OrderingItemURLHome,
    EPbk2OrderingItemURLWork,

    // Addresses
    EPbk2OrderingItemAddress,
    EPbk2OrderingItemAddressHome,
    EPbk2OrderingItemAddressWork,
    // General
    EPbk2OrderingItemPostalAddressPOBox,
    EPbk2OrderingItemPostalAddressExtension,
    EPbk2OrderingItemPostalAddressStreet,
    EPbk2OrderingItemPostalAddressPostalCode,
    EPbk2OrderingItemPostalAddressCity,
    EPbk2OrderingItemPostalAddressState,
    EPbk2OrderingItemPostalAddressCountry,
    // Home
    EPbk2OrderingItemHomeAddressPOBox,
    EPbk2OrderingItemHomeAddressExtension,
    EPbk2OrderingItemHomeAddressStreet,
    EPbk2OrderingItemHomeAddressPostalCode,
    EPbk2OrderingItemHomeAddressCity,
    EPbk2OrderingItemHomeAddressState,
    EPbk2OrderingItemHomeAddressCountry,
    // Work
    EPbk2OrderingItemCompanyAddressPOBox,
    EPbk2OrderingItemCompanyAddressExtension,
    EPbk2OrderingItemCompanyAddressStreet,
    EPbk2OrderingItemCompanyAddressPostalCode,
    EPbk2OrderingItemCompanyAddressCity,
    EPbk2OrderingItemCompanyAddressState,
    EPbk2OrderingItemCompanyAddressCountry,

    // Dates
    EPbk2OrderingItemDate,
    EPbk2OrderingItemAnniversary,

    // Notes
    EPbk2OrderingItemNote,

    // Indicators
    EPbk2OrderingItemRingingTone,

    // Images
    EPbk2OrderingItemPicture,

    // Objects for call
    EPbk2OrderingItemCODImage,

    EPbk2OrderingItemSynchronization,

    // Indicators
    EPbk2OrderingItemLocationPrivacy,

    // Invisible fields; keep these in specified order, below
    // the visible items
    EPbk2OrderingItemThumbnailImage
    };

/**
 * Add Item field ordering.
 */
enum TFscAddItemOrdering
    {
    // A value that is used for field types that can not be
    // directly selected by the user.
    EPbk2AddItemOrderUndefined = -1,

    // Contact name
    EPbk2AddItemOrderPrefix = 1,
    EPbk2AddItemOrderFirstName,
    EPbk2AddItemOrderFirstNameReading,
    EPbk2AddItemOrderMiddleName,
    EPbk2AddItemOrderLastName,
    EPbk2AddItemOrderLastNameReading,
    EPbk2AddItemOrderSuffix,
    EPbk2AddItemOrderSecondName,

    // Phone numbers
    EPbk2AddItemOrderPhoneNumberMobile,
    EPbk2AddItemOrderPhoneNumberMobileHome,
    EPbk2AddItemOrderPhoneNumberMobileWork,
    EPbk2AddItemOrderPhoneNumberGeneral,
    EPbk2AddItemOrderPhoneNumberHome,
    EPbk2AddItemOrderPhoneNumberWork,

    // Internet fields
    EPbk2AddItemOrderEmail,
    EPbk2AddItemOrderEmailHome,
    EPbk2AddItemOrderEmailWork,

    // Phone numbers
    EPbk2AddItemOrderCarPhone,
    EPbk2AddItemOrderPhoneNumberVideo,
    EPbk2AddItemOrderPhoneNumberVideoHome,
    EPbk2AddItemOrderPhoneNumberVideoWork,
    EPbk2AddItemOrderPhoneNumberFax,
    EPbk2AddItemOrderPhoneNumberFaxHome,
    EPbk2AddItemOrderPhoneNumberFaxWork,
    EPbk2AddItemOrderPhoneNumberPager,

    // Additional items
    EPbk2AddItemOrderDTMF,

    // Internet fields
    EPbk2AddItemOrderPhoneNumberVOIP,
    EPbk2AddItemOrderPhoneNumberVOIPHome,
    EPbk2AddItemOrderPhoneNumberVOIPWork,
    EPbk2AddItemOrderPhoneNumberPushToTalk,
    EPbk2AddItemOrderPhoneNumberShareView,
    EPbk2AddItemOrderPhoneNumberSIPID,

    // Company info
    EPbk2AddItemOrderCompanyName,
    EPbk2AddItemOrderDepartment,
    EPbk2AddItemOrderJobTitle,
    EPbk2AddItemOrderAssistantName,
    EPbk2AddItemOrderAssistantPhone,
    EPbk2AddItemOrderSpouse,
    EPbk2AddItemOrderChildren,

    // Internet fields
    EPbk2AddItemOrderWVAddress,
    EPbk2AddItemOrderURL,
    EPbk2AddItemOrderURLHome,
    EPbk2AddItemOrderURLWork,

    // General address
    EPbk2AddItemOrderPostalAddress, // group for general address
    EPbk2AddItemOrderPOBox,
    EPbk2AddItemOrderExtensionAddress,
    EPbk2AddItemOrderStreet,
    EPbk2AddItemOrderPostalCode,
    EPbk2AddItemOrderCity,
    EPbk2AddItemOrderState,
    EPbk2AddItemOrderCountry,

    // Home address
    EPbk2AddItemOrderHomeAddress, // group for home address
    EPbk2AddItemOrderPOBoxHome,
    EPbk2AddItemOrderExtensionAddressHome,
    EPbk2AddItemOrderStreetHome,
    EPbk2AddItemOrderPostalCodeHome,
    EPbk2AddItemOrderCityHome,
    EPbk2AddItemOrderStateHome,
    EPbk2AddItemOrderCountryHome,

    // Work address
    EPbk2AddItemOrderCompanyAddress, // group for work address
    EPbk2AddItemOrderPOBoxWork,
    EPbk2AddItemOrderExtensionAddressWork,
    EPbk2AddItemOrderStreetWork,
    EPbk2AddItemOrderPostalCodeWork,
    EPbk2AddItemOrderCityWork,
    EPbk2AddItemOrderStateWork,
    EPbk2AddItemOrderCountryWork,

    // Additional items
    EPbk2AddItemOrderDate,
    EPbk2AddItemOrderAnniversary,
    EPbk2AddItemOrderNote,
    EPbk2AddItemOrderCODImage,
    EPbk2AddItemOrderCODText,
    EPbk2AddItemOrderNone,
    EPbk2AddItemOrderSynchronization
    };

// End of File