harvester/monitorplugins/fileplugin/src/fileeventhandlerao.cpp
branchRCL_3
changeset 7 3cebc1a84278
parent 6 646a02f170b9
child 12 9f21bab39f42
equal deleted inserted replaced
6:646a02f170b9 7:3cebc1a84278
   108     delete iFolderRenamer;
   108     delete iFolderRenamer;
   109     
   109     
   110     delete iEventArray;
   110     delete iEventArray;
   111     
   111     
   112     iQueue.ResetAndDestroy();
   112     iQueue.ResetAndDestroy();
       
   113     iQueue.Close();
       
   114 	
       
   115     iUriArray.ResetAndDestroy();
   113     iUriArray.Close();
   116     iUriArray.Close();
   114     }
   117     }
   115 
   118 
   116 
   119 
   117 
   120 
   835 
   838 
   836 
   839 
   837 void CFileEventHandlerAO::AddToQueueL( TMdsFSPStatus& aEvent )
   840 void CFileEventHandlerAO::AddToQueueL( TMdsFSPStatus& aEvent )
   838 	{
   841 	{
   839 	CMdsFSPQueueItem* item = CMdsFSPQueueItem::NewL(aEvent);
   842 	CMdsFSPQueueItem* item = CMdsFSPQueueItem::NewL(aEvent);
   840 	iQueue.Append(item);
   843 	iQueue.AppendL(item);
   841 	if( iNextRequest == ERequestIdle && !iCacheEvents )
   844 	if( iNextRequest == ERequestIdle && !iCacheEvents )
   842 		{
   845 		{
   843 		SetNextRequest( ERequestProcessing );
   846 		SetNextRequest( ERequestProcessing );
   844 		}
   847 		}
   845 	}
   848 	}