phonebookengines/contactsmodel/inc/CNTDEF.H
changeset 24 0ba2181d7c28
parent 0 e686773b3f54
equal deleted inserted replaced
0:e686773b3f54 24:0ba2181d7c28
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 /*
     2 // All rights reserved.
     2 * Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 // This component and the accompanying materials are made available
     3 * All rights reserved.
     4 // under the terms of "Eclipse Public License v1.0"
     4 * This component and the accompanying materials are made available
     5 // which accompanies this distribution, and is available
     5 * under the terms of "Eclipse Public License v1.0"
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 * which accompanies this distribution, and is available
     7 //
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 // Initial Contributors:
     8 *
     9 // Nokia Corporation - initial contribution.
     9 * Initial Contributors:
    10 //
    10 * Nokia Corporation - initial contribution.
    11 // Contributors:
    11 *
    12 //
    12 * Contributors:
    13 // Description:
    13 *
    14 //
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
    15 
    18 
    16 #ifndef __CNTDEF_H__
    19 #ifndef __CNTDEF_H__
    17 #define __CNTDEF_H__
    20 #define __CNTDEF_H__
    18 
    21 
    19 #include <e32base.h>
    22 #include <e32base.h>
    35 @released
    38 @released
    36 */
    39 */
    37 const TInt KSpeedDialPhoneLength = 64;
    40 const TInt KSpeedDialPhoneLength = 64;
    38 
    41 
    39 /**
    42 /**
    40 @publishedAll
    43 @internalTechnology
    41 @released
    44 @released
    42 */
    45 */
    43 const TInt KCntMinSpeedDialIndex = 1;
    46 const TInt KCntMinSpeedDialIndex = 1;
    44 
    47 
    45 /**
    48 /**
    46 @publishedAll
    49 @internalTechnology
    47 @released
    50 @released
    48 */
    51 */
    49 const TInt KCntMaxSpeedDialIndex = 9;
    52 const TInt KCntMaxSpeedDialIndex = 9;
    50 
    53 
    51 /**
    54 /**
    52 Phone Match Length
    55 Phone Match Length
    53 @publishedAll
    56 @internalTechnology
    54 @released
    57 @released
    55 */
    58 */
    56 const TInt KMaxPhoneMatchLength = 15;
    59 const TInt KMaxPhoneMatchLength = 15;
    57 
    60 
    58 /**
    61 /**
    59 @publishedAll
    62 @internalTechnology
    60 @released
    63 @released
    61 */
    64 */
    62 const TInt KLowerSevenDigits = 7;
    65 const TInt KLowerSevenDigits = 7;
    63 
    66 
    64 /**
    67 /**
    65 Used for firstname, lastname, companyname, secondname and their
    68 Used for firstname, lastname, companyname, secondname and their
    66 associated pronunciation fields and e-mail address
    69 associated pronunciation fields and e-mail address
    67 @publishedAll
    70 @internalTechnology
    68 @released
    71 @released
    69 */
    72 */
    70 const TInt KCntMaxTextFieldLength=255;
    73 const TInt KCntMaxTextFieldLength=255;
    71 
    74 
    72 // Type definitions
    75 // Type definitions
    73 
    76 
    74 /**
    77 /**
    75 @publishedAll
    78 @internalTechnology
    76 @released
    79 @released
    77 */
    80 */
    78 typedef TBuf<KSpeedDialPhoneLength> TSpeedDialPhoneNumber;
    81 typedef TBuf<KSpeedDialPhoneLength> TSpeedDialPhoneNumber;
    79 
    82 
    80 /** Contact item ID. These are used to uniquely identify contact items within a
    83 /** Contact item ID. These are used to uniquely identify contact items within a
   422 /** Identifies an instant messaging address field.
   425 /** Identifies an instant messaging address field.
   423 @publishedAll
   426 @publishedAll
   424 @released
   427 @released
   425 */
   428 */
   426 const TUid KUidContactFieldIMAddress = { KUidContactFieldIMAddressValue };
   429 const TUid KUidContactFieldIMAddress = { KUidContactFieldIMAddressValue };
       
   430 
       
   431 /** Identifies an IM or SIP Service Provider field.
       
   432 */
       
   433 const TUid KUidContactFieldServiceProvider = { KUidContactFieldServiceProviderValue };
       
   434 
       
   435 /** Identifies an presence information about contact.
       
   436 */
       
   437 const TUid KUidContactFieldPresence = { KUidContactFieldPresenceValue };
       
   438 
       
   439 /** Identifies status message field.
       
   440 */
       
   441 const TUid KUidContactFieldStatusMsg = { KUidContactFieldStatusMsgValue };
       
   442 
       
   443 
   427 /** Identifies a USIM second name field. This field is provided to
   444 /** Identifies a USIM second name field. This field is provided to
   428 store an additional representation of the contact's name, such as a
   445 store an additional representation of the contact's name, such as a
   429 nickname or a different representation. An example could be a Japanese
   446 nickname or a different representation. An example could be a Japanese
   430 contact which has a romanised name and an alternative representation using
   447 contact which has a romanised name and an alternative representation using
   431 kanji (pictogram) characters.
   448 kanji (pictogram) characters.
   932 /** Field type maps to vCard extension property parameter value Department
   949 /** Field type maps to vCard extension property parameter value Department
   933 @publishedAll
   950 @publishedAll
   934 @released
   951 @released
   935 */
   952 */
   936 const TUid KUidContactFieldVCardMapDepartment={KIntContactFieldVCardMapDepartment};
   953 const TUid KUidContactFieldVCardMapDepartment={KIntContactFieldVCardMapDepartment};
       
   954 
       
   955 
       
   956 /** Favourites ranking field.
       
   957 @publishedAll
       
   958 @released
       
   959 */
       
   960 const TUid KUidContactFieldFavourite={KUidContactFieldFavouriteValue};
       
   961 
       
   962 /** Field type maps to vCard extension property parameter value Favourite.
       
   963 @publishedAll
       
   964 @released
       
   965 */
       
   966 const TUid KUidContactFieldVCardMapFavourite={KIntContactFieldVCardMapFavourite};
       
   967 
   937 
   968 
   938 /** Name of the TYPE property parameter, for which the values are work, home etc. 
   969 /** Name of the TYPE property parameter, for which the values are work, home etc. 
   939 @publishedAll
   970 @publishedAll
   940 @released
   971 @released
   941 */
   972 */