analyzetool/dynamicmemoryhook/inc/analyzetooleventhandler.h
branchRCL_3
changeset 49 7fdc9a71d314
parent 19 da2cedce4920
child 59 8ad140f3dd41
--- a/analyzetool/dynamicmemoryhook/inc/analyzetooleventhandler.h	Wed Sep 15 00:19:18 2010 +0300
+++ b/analyzetool/dynamicmemoryhook/inc/analyzetooleventhandler.h	Wed Sep 15 13:53:27 2010 +0300
@@ -21,9 +21,10 @@
 
 // INCLUDES
 #include <e32cmn.h>
+#include <e32base.h>
 #include "codeblock.h"
-#include <analyzetool/atstorageserverclnt.h>
 #include <analyzetool/analyzetool.h>
+#include "analyzetoolfilelog.h"
 
 // FORWARD DECLARATIONS
 class MAnalyzeToolEventhandlerNotifier;
@@ -43,9 +44,6 @@
         * @param aAnalyzeTool A reference to the <code>RAnalyzeTool</code> 
                  which is used to observe kernel events 
         * @param aCodeblocks A reference to array of code segments
-        * @param aStorageServer A reference to the 
-        *                       <code>RATStorageServer</code> which is 
-        *                       used to store kernel events
         * @param aProcessId A reference to the observed process id
         * @param aMutex A reference to mutex to schedule access to the 
         *                   shared resources
@@ -54,12 +52,12 @@
         * @param aLogOption Current used log option on allocator.
         */
         CLibraryEventHandler( RAnalyzeTool& aAnalyzeTool, 
-                RArray<TCodeblock>& aCodeblocks, 
-                RATStorageServer& aStorageServer, 
+                RArray<TCodeblock>& aCodeblocks,
                 TUint aProcessId,
                 RMutex& aMutex,
                 MAnalyzeToolEventhandlerNotifier& aNotifier,
-                TUint32 aLogOption );
+                TUint32 aLogOption,
+                RATFileLog& iLogFile );
 
         /**
         * Destructor.
@@ -95,9 +93,6 @@
         /* A reference to codeblocks of the observed process */
         RArray<TCodeblock>& iCodeblocks;
 
-        /* Handle to the storage server*/
-        RATStorageServer& iStorageServer;
-
         /* The observered process id */ 
         TUint iProcessId;
 
@@ -115,6 +110,10 @@
 
         /* Current used log option */
         TUint32 iLogOption;
+        
+        // TODO comment
+		/* */
+		RATFileLog& iLogFile;
     };
 
 #endif // ANALYZETOOLEVENTHANDLER_H