logsui/tsrc/logdbmodifier/addeventtest/inc/clientlogstest.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 __CCLIENTLOGSTEST_H__
       
    21 #define __CCLIENTLOGSTEST_H__
       
    22 #include <E32Base.h>
       
    23 #include <badesca.h>
       
    24 #include "argstest.h"
       
    25 #include <logwrap.h>
       
    26 #include <logcli.h>
       
    27 
       
    28 
       
    29 class CClientlogstest : public CActive
       
    30 {
       
    31 
       
    32     public:    // Constructors and destructor   
       
    33         /**
       
    34         * Two-phased constructor.
       
    35         */
       
    36         static CClientlogstest* NewL();
       
    37        // static CClientlogstest* NewLC();
       
    38         /**
       
    39         * Destructor.
       
    40         */
       
    41         ~CClientlogstest();
       
    42             
       
    43 public: // From CActive
       
    44     
       
    45     void RunL ();
       
    46     void DoCancel ();			
       
    47 			
       
    48     public:  // New functions 
       
    49       
       
    50         /**
       
    51         * ReadParametersL
       
    52         * @since
       
    53         * @param fileName
       
    54         */
       
    55         void ReadParametersL( const TDes & fileName );
       
    56                                                                      
       
    57     private:
       
    58 
       
    59         CClientlogstest();
       
    60         void ConstructL();
       
    61         TInt AddEvent();
       
    62         void DeleteReadDataMembers();
       
    63         
       
    64     private: // data
       
    65     HBufC* iDllName;
       
    66     	TLogId iId;
       
    67 			TUid iEventType;
       
    68 			TTime iTime;
       
    69 			TLogDurationType iDurationType;
       
    70 			TLogDuration iDuration;
       
    71 			TLogContactItemId  iContact;
       
    72 			TLogLink iLink;
       
    73 			TLogFlags iFlags;
       
    74 			HBufC* iDescription;
       
    75 			HBufC* iRemoteParty;
       
    76 			HBufC* iDirection;
       
    77 			HBufC* iCallStatus;
       
    78 			HBufC* iSubject;
       
    79 			HBufC* iNumber;
       
    80 			HBufC8* iData;
       
    81       TInt iCompleteError;
       
    82       //
       
    83       CLogClient* iLogClient;  
       
    84       RFs    iFsSession;
       
    85       CLogEvent* iLogEvent;
       
    86       RPointerArray<CLogEvent> iLogEvents;
       
    87       HBufC* ikeyword; 
       
    88       CArgs* iArgs;
       
    89       TPtrC8 iDataPtr;
       
    90     private:    // Friend classes               
       
    91     // none                                     
       
    92 
       
    93 };
       
    94 
       
    95 // End of File __CCLIENTLOGSTEST_H__
       
    96 #endif