harvester/monitorplugins/inc/mdsfspqueue.inl
branchRCL_3
changeset 63 e538444823de
parent 47 b73252188534
--- a/harvester/monitorplugins/inc/mdsfspqueue.inl	Wed Sep 15 12:40:59 2010 +0300
+++ b/harvester/monitorplugins/inc/mdsfspqueue.inl	Wed Oct 13 15:02:02 2010 +0300
@@ -15,7 +15,7 @@
 */
 
 
-
+#include "mdsfspqueue.h"
 
 //-----------------------------------------------------------------------------
 // CMdsFSPQueueItem::NewL()
@@ -52,6 +52,7 @@
 	aStatus.iNewFileName.Copy( *iNewFileName );
 	aStatus.iFileEventType = iFileEventType;
 	aStatus.iProcessId = iProcessId;
+	aStatus.iDriveMediaId = iDriveMediaId;
 	}
 
 //-----------------------------------------------------------------------------
@@ -67,18 +68,16 @@
 	if( iFileName ) 
 		{
 		delete iFileName;
-		iFileName = NULL;
 		}
-	
 	if( iNewFileName )
 		{
 		delete iNewFileName;
-		iNewFileName = NULL;
 		}
 	
 	iFileName = aStatus.iFileName.AllocL();
 	iNewFileName = aStatus.iNewFileName.AllocL();
 	
+	iDriveMediaId = aStatus.iDriveMediaId;
 	}
 
 //-----------------------------------------------------------------------------
@@ -88,8 +87,6 @@
 CMdsFSPQueueItem::~CMdsFSPQueueItem()
 	{
 	delete iFileName;
-	iFileName = NULL;
 	delete iNewFileName;
-	iNewFileName = NULL;
 	}
-    
+    
\ No newline at end of file