wvuing/wvlogger/Src/PrivateDefinitions.h
changeset 0 094583676ce7
equal deleted inserted replaced
-1:000000000000 0:094583676ce7
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Constants for CALogger module
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef PRIVATEDEFINITIONS_H
       
    20 #define PRIVATEDEFINITIONS_H
       
    21 
       
    22 class MCALoggerWriteInterface;
       
    23 class MCALoggerMessageHeader;
       
    24 
       
    25 // History folder
       
    26 _LIT( KCAHistoryDirectory, "IMHistory\\" );
       
    27 _LIT( KCAHistoryTocFile, "IMHistory\\toc" );
       
    28 _LIT( KCAHistoryTocTempFile, "IMHistory\\tocTemp" );
       
    29 _LIT( KCAHistoryDataDirectory, "IMHistory\\data\\" );
       
    30 _LIT( KCADataDirectory, "data\\" );
       
    31 _LIT( KCALoggerModuleName, "WV Logger" );
       
    32 
       
    33 struct TFileRelation
       
    34     {
       
    35     MCALoggerWriteInterface* iWriter;
       
    36     MCALoggerMessageHeader* iFile;
       
    37     };
       
    38 
       
    39 _LIT( KLineEnd, "\n" );
       
    40 const TInt KWVUserIDMaxLength       = 50;
       
    41 const TInt KWVMaxLengthOfIntString  = 10;
       
    42 
       
    43 #ifdef _UNICODE
       
    44 const TInt KCharacterLengthInBytes = 2;
       
    45 #else
       
    46 const TInt KCharacterLengthInBytes = 1;
       
    47 #endif
       
    48 
       
    49 #endif	// PRIVATEDEFINITIONS_H
       
    50 //end of file
       
    51