diff -r 000000000000 -r 33413c0669b9 vpnengine/dmadipsecvpn/inc/dmadeventlog.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vpnengine/dmadipsecvpn/inc/dmadeventlog.h Thu Dec 17 09:14:51 2009 +0200 @@ -0,0 +1,44 @@ +/* +* 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: Class definition of TDmAdEventLog. +* +*/ + + + +#ifndef __DMADEVENTLOG_H__ +#define __DMADEVENTLOG_H__ + +#include +#include +#include + +#include "eventviewer2.h" + +//------------------------------------------------------------------------------------------------ +// TDmAdEventLog +//------------------------------------------------------------------------------------------------ +class TDmAdEventLog + { +public: + static void DeleteLogL(void); + static void EventLogL(CBufBase& aEventLog); +private: + static void FormatTimeL(RResourceFile& aResourceFile, TDes& aDateTimeText, TTime aTime); + static HBufC* CategoryTextLC(RResourceFile& aResourceFile, TLogCategory2 aCategory); + static void OpenResourceFileL(RFs& aFs, RResourceFile& aResourceFile, const TDesC& aFilename); + static HBufC* ReadResourceLC(RResourceFile& aResourceFile, TInt aMsgId); + }; + +#endif