harvester/monitorplugins/mmcplugin/src/mmcscannerao.cpp
branchRCL_3
changeset 49 f23c07ec56e2
parent 47 b73252188534
child 50 85f623e1ef41
equal deleted inserted replaced
47:b73252188534 49:f23c07ec56e2
   106 	{
   106 	{
   107 	switch( iState )
   107 	switch( iState )
   108 		{
   108 		{
   109 		case( EUninitialized ):
   109 		case( EUninitialized ):
   110 			{
   110 			{
       
   111 		    WRITELOG("CMmcScannerAO::RunL - Starting processing");
       
   112 		    if( iMediaId == 0 )
       
   113 		        {
       
   114 		        WRITELOG("CMmcScannerAO::RunL - MediaId == 0 -> end");
       
   115                 SetState( EDone );
       
   116                 break;		    
       
   117 		        }
       
   118 		    
   111 			WRITELOG("CMmcScannerAO::RunL - Setting files to not present");
   119 			WRITELOG("CMmcScannerAO::RunL - Setting files to not present");
   112 			iMdEClient->SetFilesToNotPresent( iMediaId, ETrue );
   120 			iMdEClient->SetFilesToNotPresent( iMediaId, ETrue );
   113 			SetState( EReadFiles );
   121 			SetState( EReadFiles );
   114 			break;
   122 			break;
   115 			}
   123 			}