mpx/collectionframework/collectionengine/src/mpxcollectionengine.cpp
changeset 50 762d760dcfdf
parent 48 b7b49303d0c0
equal deleted inserted replaced
48:b7b49303d0c0 50:762d760dcfdf
   210             // Clear the cache
   210             // Clear the cache
   211             clearCache = ETrue;
   211             clearCache = ETrue;
   212             break;
   212             break;
   213             }
   213             }
   214         case EMcMsgDiskInserted:        	
   214         case EMcMsgDiskInserted:        	
       
   215             {
       
   216             // inverting the notification order, this to get the message to 
       
   217             // the UI faster.
   215             for( TInt i=0; i<count; ++i )
   218             for( TInt i=0; i<count; ++i )
   216                 {
   219                 {
   217                 context = iContexts[i];
   220                 context = iContexts[i];
   218                 context->NotifyL( aMsg, aData );
   221                 context->NotifyL( aMsg, aData );
   219                 }
   222                 }
   220             notify = EFalse;
   223             notify = EFalse;
       
   224             command = EMcReOpenCollection;
       
   225             data = aData;
       
   226             // Clear the cache
       
   227         	  clearCache = ETrue;
       
   228             break;
       
   229             }
   221         case EMcMsgFormatEnd:
   230         case EMcMsgFormatEnd:
   222         case EMcMsgUSBMassStorageEnd:
   231         case EMcMsgUSBMassStorageEnd:
   223             {
   232             {
   224             command = EMcReOpenCollection;
   233             command = EMcReOpenCollection;
   225             data = aData;
   234             data = aData;
   226             
   235             
   227             // Clear the cache
   236             // Clear the cache
   228         	clearCache = ETrue;
   237         	  clearCache = ETrue;
   229             break;
   238             break;
   230             }
   239             }
   231         case EMcMsgUSBMTPStart:
   240         case EMcMsgUSBMTPStart:
   232             {
   241             {
   233             iRefreshing = ETrue;
   242             iRefreshing = ETrue;