logsui/tsrc/logdbmodifier/addeventtest/inc/clientlogstest.h
changeset 24 0ba2181d7c28
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/logsui/tsrc/logdbmodifier/addeventtest/inc/clientlogstest.h	Fri Mar 19 09:27:18 2010 +0200
@@ -0,0 +1,96 @@
+/*
+* 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
\ No newline at end of file