diff -r cad71a31b7fc -r e36f3802f733 voiceui/aiwpbkinfoviewprovider/inc/aiwpbkinfoviewproviderutil.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/voiceui/aiwpbkinfoviewprovider/inc/aiwpbkinfoviewproviderutil.h Wed Sep 01 12:29:17 2010 +0100 @@ -0,0 +1,68 @@ +/* +* Copyright (c) 2002 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Utility classes. +* +*/ + + +#ifndef _AIW_PBKINFOVIEWPROVIDER_H +#define _AIW_PBKINFOVIEWPROVIDER_H + +// INCLUDES +#include +#include + + +// CONSTANTS + +const TInt KBufSize = 128; + + + +// FORWARD DECLARATIONS + +// CLASS DECLARATION + + +/** +* TAspUtil +* +*/ +class TUtil + { + public: + static void Panic(TInt aReason); + static void StrCopy(TDes& aTarget, const TDesC& aSource); + static TInt StrToInt(const TDesC& aText, TInt& aNum); + static void Print(const TDesC& aText); + static void Print(const TDesC& aText, TInt aNum); + }; + + +/** +* TFileLog +* +*/ +class TFileLog + { + public: + static void Log(const TDesC& aText); + static void Log(const TDesC& aText1, const TDesC& aText2); + static void GetDateTime(TDes& aStr, TTime aTimeNum, TBool aDate, TBool aTime); + static void GetMediumType(TDes& aText, TInt aType); + }; + + + +#endif // _AIW_PBKINFOVIEWPROVIDER_H \ No newline at end of file