equal
deleted
inserted
replaced
368 { |
368 { |
369 // chage suspended flag to waiting |
369 // chage suspended flag to waiting |
370 // is it safe to change flag from suspended to waiting? |
370 // is it safe to change flag from suspended to waiting? |
371 if ( sendState == KMsvSendStateSuspended ) |
371 if ( sendState == KMsvSendStateSuspended ) |
372 { |
372 { |
|
373 // <qmail> remove activeschedulerwait |
373 CMsvEntry* cEntry = CMsvEntry::NewL( |
374 CMsvEntry* cEntry = CMsvEntry::NewL( |
374 iMsvSession, entry.Id(), TMsvSelectionOrdering() ); |
375 iMsvSession, entry.Id(), TMsvSelectionOrdering() ); |
375 CleanupStack::PushL( cEntry ); |
376 CleanupStack::PushL( cEntry ); |
376 CIpsPlgOperationWait* wait = CIpsPlgOperationWait::NewLC( ); |
|
377 entry.SetSendingState( KMsvSendStateWaiting ); |
377 entry.SetSendingState( KMsvSendStateWaiting ); |
378 cEntry->ChangeL( entry, wait->iStatus ); |
378 cEntry->ChangeL( entry ); |
379 wait->Start(); |
379 CleanupStack::PopAndDestroy( cEntry ); // cEntry |
380 CleanupStack::PopAndDestroy(2, cEntry ); // wait, cEntry |
380 // </qmail> |
381 } |
381 } |
382 // add to send list |
382 // add to send list |
383 iSelection->AppendL( entry.Id() ); |
383 iSelection->AppendL( entry.Id() ); |
384 ++retValue; |
384 ++retValue; |
385 } |
385 } |