logsui/tsrc/logdbmodifier/clearlisttest/inc/clearlisttest.h
changeset 0 4a5361db8937
equal deleted inserted replaced
-1:000000000000 0:4a5361db8937
       
     1 /*
       
     2 * Copyright (c) 2009 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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 //  INCLUDES
       
    20 #ifndef __CLEARLISTTEST_H__
       
    21 #define __CLEARLISTTEST_H__
       
    22 #include <E32Base.h>
       
    23 #include <badesca.h>
       
    24 #include <logwrap.h>
       
    25 #include <logcli.h>
       
    26 
       
    27 //  CLASS DECLARATION
       
    28 
       
    29 
       
    30 class CClearlisttest : public CActive
       
    31 {
       
    32     public:    // Constructors and destructor   
       
    33     
       
    34         static CClearlisttest* NewL();
       
    35 
       
    36         ~CClearlisttest();
       
    37             
       
    38 public: // From CActive
       
    39     	void RunL ();
       
    40     	void DoCancel ();			
       
    41                                                                      
       
    42     private:
       
    43 
       
    44         CClearlisttest();
       
    45         void ConstructL();
       
    46         TInt ClearList();
       
    47         
       
    48     private: // data
       
    49     	HBufC* iDllName;
       
    50     	TLogId iId;
       
    51 			TUid iEventType;
       
    52 			TTime iTime;
       
    53 			TLogDurationType iDurationType;
       
    54 			TLogDuration iDuration;
       
    55 			TLogContactItemId  iContact;
       
    56 			TLogLink iLink;
       
    57 			TLogFlags iFlags;
       
    58 			HBufC* iDescription;
       
    59 			HBufC* iRemoteParty;
       
    60 			HBufC* iDirection;
       
    61 			HBufC* iCallStatus;
       
    62 			HBufC* iSubject;
       
    63 			HBufC* iNumber;
       
    64 			HBufC8* iData;
       
    65       TInt iCompleteError;
       
    66       //
       
    67       CLogClient* iLogClient;  
       
    68       RFs    iFsSession;
       
    69       CLogEvent* iLogEvent;
       
    70       RPointerArray<CLogEvent> iLogEvents;
       
    71     private:    // Friend classes               
       
    72     // none                                     
       
    73 
       
    74 };
       
    75 
       
    76 // End of File __CLEARLISTTEST_H__
       
    77 #endif