Nokia N97 SDK
Example Applications Guide

contactsconstants.h

00001 /*
00002 * ==============================================================================
00003 *  Name        : contactsconstants.h
00004 *  Part of     : Contacts database example
00005 *  Interface   :
00006 *  Description :
00007 *  Version     :
00008 *
00009 *  Copyright (c) 2004 - 2006 Nokia Corporation.
00010 *  This material, including documentation and any related
00011 *  computer programs, is protected by copyright controlled by
00012 *  Nokia Corporation.
00013 * ==============================================================================
00014 */
00015 
00016 #ifndef __CONTACTSCONSTANTS_H__
00017 #define __CONTACTSCONSTANTS_H__
00018 
00019 // CONSTANTS
00020 
00021 const TInt KMaxDatabasePathAndNameLength = 60;
00022 const TInt KMaxTemplateNameLength = 20;
00023 const TInt KMaxTextLength = 19;
00024 const TInt KMaxGroupNameLength = 20;
00025 const TInt KArraySize = 4;
00026 const TInt KFormattersSpace = 10;
00027 const TInt KMaxTextBoxQueryLength = 40;
00028 _LIT( KFirstName,"FirstName") ;
00029 _LIT( KLastName,"LastName" );
00030 _LIT( KPhoneNumber,"123123123" );
00031 
00032 // CAknSingleStyleListBox needs next formatters
00033 _LIT(KListItemFormatter,"\t%S %S\t\t");
00034 _LIT(KListOItemFormatter,"\t%S\t\t");
00035 
00036 #endif // __CONTACTSCONSTANTS_H__

© Nokia 2009

Back to top