logsui/tsrc/logdbmodifier/addeventtest/inc/clientlogstest.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 04 May 2010 12:39:37 +0300
changeset 0 4a5361db8937
permissions -rw-r--r--
Revision: 201015 Kit: 201018

/*
* Copyright (c) 2009 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:  
*
*/


//  INCLUDES
#ifndef __CCLIENTLOGSTEST_H__
#define __CCLIENTLOGSTEST_H__
#include <E32Base.h>
#include <badesca.h>
#include "argstest.h"
#include <logwrap.h>
#include <logcli.h>


class CClientlogstest : public CActive
{

    public:    // Constructors and destructor   
        /**
        * Two-phased constructor.
        */
        static CClientlogstest* NewL();
       // static CClientlogstest* NewLC();
        /**
        * Destructor.
        */
        ~CClientlogstest();
            
public: // From CActive
    
    void RunL ();
    void DoCancel ();			
			
    public:  // New functions 
      
        /**
        * ReadParametersL
        * @since
        * @param fileName
        */
        void ReadParametersL( const TDes & fileName );
                                                                     
    private:

        CClientlogstest();
        void ConstructL();
        TInt AddEvent();
        void DeleteReadDataMembers();
        
    private: // data
    HBufC* iDllName;
    	TLogId iId;
			TUid iEventType;
			TTime iTime;
			TLogDurationType iDurationType;
			TLogDuration iDuration;
			TLogContactItemId  iContact;
			TLogLink iLink;
			TLogFlags iFlags;
			HBufC* iDescription;
			HBufC* iRemoteParty;
			HBufC* iDirection;
			HBufC* iCallStatus;
			HBufC* iSubject;
			HBufC* iNumber;
			HBufC8* iData;
      TInt iCompleteError;
      //
      CLogClient* iLogClient;  
      RFs    iFsSession;
      CLogEvent* iLogEvent;
      RPointerArray<CLogEvent> iLogEvents;
      HBufC* ikeyword; 
      CArgs* iArgs;
      TPtrC8 iDataPtr;
    private:    // Friend classes               
    // none                                     

};

// End of File __CCLIENTLOGSTEST_H__
#endif