voiceui/aiwpbkinfoviewprovider/inc/aiwpbkinfoviewproviderutil.h
branchRCL_3
changeset 19 e36f3802f733
parent 0 bf1d17376201
equal deleted inserted replaced
18:cad71a31b7fc 19:e36f3802f733
       
     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:  Utility classes.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef _AIW_PBKINFOVIEWPROVIDER_H
       
    20 #define _AIW_PBKINFOVIEWPROVIDER_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <e32base.h>
       
    24 #include <eikenv.h>
       
    25 
       
    26 
       
    27 // CONSTANTS
       
    28 
       
    29 const TInt KBufSize = 128;
       
    30 
       
    31 
       
    32 
       
    33 // FORWARD DECLARATIONS
       
    34 
       
    35 // CLASS DECLARATION
       
    36 
       
    37 
       
    38 /**
       
    39 * TAspUtil 
       
    40 * 
       
    41 */
       
    42 class TUtil
       
    43 	{
       
    44     public:
       
    45         static void Panic(TInt aReason);
       
    46 		static void StrCopy(TDes& aTarget, const TDesC& aSource);
       
    47 		static TInt StrToInt(const TDesC& aText, TInt& aNum);
       
    48 		static void Print(const TDesC& aText);
       
    49 		static void Print(const TDesC& aText, TInt aNum);
       
    50 	};
       
    51 
       
    52 
       
    53 /**
       
    54 * TFileLog 
       
    55 * 
       
    56 */
       
    57 class TFileLog
       
    58     {
       
    59     public:
       
    60         static void Log(const TDesC& aText);
       
    61 		static void Log(const TDesC& aText1, const TDesC& aText2);
       
    62 		static void GetDateTime(TDes& aStr, TTime aTimeNum, TBool aDate, TBool aTime);
       
    63 		static void GetMediumType(TDes& aText, TInt aType);
       
    64     };
       
    65 
       
    66 
       
    67 
       
    68 #endif  // _AIW_PBKINFOVIEWPROVIDER_H