phonebookengines/contactsmodel/inc/cntfield_internal.h
changeset 0 e686773b3f54
equal deleted inserted replaced
-1:000000000000 0:e686773b3f54
       
     1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 #ifndef __CNTFIELD_INTERNAL_H__
       
    17 #define __CNTFIELD_INTERNAL_H__
       
    18 
       
    19 /** @internalComponent */
       
    20 const TInt KIntContactHintIsPhone=0x02;
       
    21 /** @internalComponent */
       
    22 const TInt KIntContactHintIsMsg=0x04;
       
    23 /** @internalComponent */
       
    24 const TInt KIntContactHintIsCompanyName=0x08;
       
    25 /** @internalComponent */
       
    26 const TInt KIntContactHintIsFamilyName=0x10;
       
    27 /** @internalComponent */
       
    28 const TInt KIntContactHintIsGivenName=0x20;
       
    29 /** @internalComponent */
       
    30 const TInt KIntContactHintIsAddress=0x40;
       
    31 /** @internalComponent */
       
    32 const TInt KIntContactHintIsAdditionalName=0x80;
       
    33 /** @internalComponent */
       
    34 const TInt KIntContactHintIsSuffixName=0x100;
       
    35 /** @internalComponent */
       
    36 const TInt KIntContactHintIsPrefixName=0x200;
       
    37 /** @internalComponent */
       
    38 const TInt KIntContactHintStorageInline=0x400;
       
    39 /** @internalComponent */
       
    40 const TInt KIntContactHintIsEmail=0x4000;
       
    41 /** @internalComponent */
       
    42 const TInt KIntContactHintIsPronunciation=0x800;
       
    43 /** @internalComponent */
       
    44 const TInt KIntContactHintIsCompanyNamePronunciation=KIntContactHintIsPronunciation|KIntContactHintIsCompanyName;
       
    45 /** @internalComponent */
       
    46 const TInt KIntContactHintIsGivenNamePronunciation=KIntContactHintIsPronunciation|KIntContactHintIsGivenName;
       
    47 /** @internalComponent */
       
    48 const TInt KIntContactHintIsFamilyNamePronunciation=KIntContactHintIsPronunciation|KIntContactHintIsFamilyName;
       
    49 
       
    50 /** @internalComponent */
       
    51 const TInt KHintTypeMask = 0x1FFFFF;
       
    52 
       
    53 #ifdef __SYMBIAN_CNTMODEL_USE_SQLITE__
       
    54 
       
    55 /** Number of additional type ids.
       
    56 @internalComponent 
       
    57 */
       
    58 const TInt KHintAdditionalMask    = 0x7F000000;
       
    59 /** Bit flag to show if there is a vCard mapping uid.
       
    60 @internalComponent 
       
    61 */
       
    62 const TInt KHintVCardMappingMask  = 0x80000000;
       
    63 /** Template field mask in low hint value.
       
    64 @internalComponent 
       
    65 */
       
    66 const TInt KHintTemplateFieldMask = 0x7FFFFFFF;
       
    67 
       
    68 /** @internalComponent */
       
    69 const TInt KHintAdditionalMaskShift = 24;
       
    70 
       
    71 #else //_SYMBIAN_USE_SQLITE__
       
    72 
       
    73 /** @internalComponent */
       
    74 const TInt KHintAdditionalMask = 0x200000;
       
    75 /** @internalComponent */
       
    76 const TInt KHintIdMask = 0xFFC00000;
       
    77 
       
    78 #endif //_SYMBIAN_USE_SQLITE__
       
    79 
       
    80 
       
    81 #endif //__CNTFIELD_INTERNAL_H__