xdmprotocols/XcapProtocol/XcapCache/Server/inc/ServerDefines.h
changeset 0 c8caa15ef882
equal deleted inserted replaced
-1:000000000000 0:c8caa15ef882
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   XCapServerDefines
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef __SERVERDEFINES_H__
       
    22 #define __SERVERDEFINES_H__
       
    23 
       
    24 #include <e32base.h>
       
    25 
       
    26 const TInt KPageFilePosSeparator            = 32;
       
    27 _LIT8( KPageFileSeparator,                  " " );
       
    28 _LIT8( KIndexFileEndOfLine,                 "\r\n" );
       
    29 _LIT8( KIndexFileEndOfEntry,                "\r\n\r\n" );
       
    30 _LIT8( KValuePropertySeparator,             "=" );
       
    31 _LIT8( KValueFieldSeparator,                ";" );
       
    32 
       
    33 //Array of characters available for random string creation
       
    34 const TInt KRandomStringCharArray[]     = { 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48,
       
    35                                             0x49, 0x4A, 0x4B, 0x4C, 0x4D, 0x4E, 0x4F, 0x50,
       
    36                                             0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58,
       
    37                                             0x59, 0x5A, 0x61, 0x62, 0x63, 0x64, 0x30, 0x31,
       
    38                                             0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
       
    39                                             0x65, 0x66, 0x67, 0x68, 0x69, 0x6A, 0x6B, 0x6C,
       
    40                                             0x6D, 0x6E, 0x6F, 0x70, 0x71, 0x72, 0x73, 0x74,
       
    41                                             0x75, 0x76, 0x77, 0x78, 0x79, 0x7A };
       
    42                                             
       
    43 const TReal KDefaultCompression             = 0.75;                                 
       
    44 const TInt KRandStringLength                = 20;
       
    45 const TInt KDateMaxSize                     = 100;
       
    46 const TInt KDateTimeMaxSize                 = 200;
       
    47 _LIT( KDateFormatFileName,                  "%1%2%3");
       
    48 _LIT( KTimeFormatFileName,                  "%H%T%S");
       
    49 _LIT( KCacheDateFormat,                     "%1-%2-%3");
       
    50 _LIT( KCacheTimeFormat,                     "%H:%T:%S");
       
    51 _LIT( KDateTimeFormat,                      "%D%M%Y%/0%1%/1%2%/2%3%/3 %:0%H%:1%T%:2%S");
       
    52 
       
    53 
       
    54 
       
    55 #endif // #ifndef __SERVERDEFINES_H__
       
    56 
       
    57 // End of File