equal
deleted
inserted
replaced
395 FUNC_LOG; |
395 FUNC_LOG; |
396 for (TInt i=iObserverArray.Count()-1; i>=0; i--) |
396 for (TInt i=iObserverArray.Count()-1; i>=0; i--) |
397 { |
397 { |
398 if ( iObserverArray[i].iObserver == aObserver && iObserverArray[i].iMessageId == aMessageId ) |
398 if ( iObserverArray[i].iObserver == aObserver && iObserverArray[i].iMessageId == aMessageId ) |
399 { |
399 { |
400 RemoveObserver(i); |
400 |
|
401 TDownloadCount countObject( aMessageId ); |
|
402 TInt idx = iDownloadCountArray.Find( countObject, |
|
403 TIdentityRelation<TDownloadCount>(EqualMessageId) ); |
|
404 if ( idx == KErrNotFound ) |
|
405 { |
|
406 RemoveObserver(i); |
|
407 } |
401 } |
408 } |
402 } |
409 } |
403 } |
410 } |
404 |
411 |
405 void CFSEmailDownloadInfoMediator::StopObserving( MFSEmailDownloadInformationObserver* aObserver ) |
412 void CFSEmailDownloadInfoMediator::StopObserving( MFSEmailDownloadInformationObserver* aObserver ) |