vpnengine/dmadipsecvpn/inc/dmadeventlog.h
changeset 0 33413c0669b9
equal deleted inserted replaced
-1:000000000000 0:33413c0669b9
       
     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: Class definition of TDmAdEventLog.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DMADEVENTLOG_H__
       
    21 #define __DMADEVENTLOG_H__
       
    22 
       
    23 #include <e32base.h>
       
    24 #include <f32file.h>
       
    25 #include <barsc.h>
       
    26 
       
    27 #include "eventviewer2.h"
       
    28 
       
    29 //------------------------------------------------------------------------------------------------
       
    30 // TDmAdEventLog
       
    31 //------------------------------------------------------------------------------------------------
       
    32 class TDmAdEventLog
       
    33     {
       
    34 public:
       
    35     static void DeleteLogL(void);
       
    36     static void EventLogL(CBufBase& aEventLog);
       
    37 private:
       
    38     static void FormatTimeL(RResourceFile& aResourceFile, TDes& aDateTimeText, TTime aTime);
       
    39     static HBufC* CategoryTextLC(RResourceFile& aResourceFile, TLogCategory2 aCategory);
       
    40     static void OpenResourceFileL(RFs& aFs, RResourceFile& aResourceFile, const TDesC& aFilename);
       
    41     static HBufC* ReadResourceLC(RResourceFile& aResourceFile, TInt aMsgId);
       
    42     };
       
    43 
       
    44 #endif