equal
deleted
inserted
replaced
3508 |
3508 |
3509 { |
3509 { |
3510 __LOG_TEXT(KDefaultLog, "CImapProtocolController::UpdateFlagL()"); |
3510 __LOG_TEXT(KDefaultLog, "CImapProtocolController::UpdateFlagL()"); |
3511 __ASSERT_DEBUG(iImapCompound==NULL, TImapServerPanic::ImapPanic(TImapServerPanic::ECreateCompoundIsNotNull)); |
3511 __ASSERT_DEBUG(iImapCompound==NULL, TImapServerPanic::ImapPanic(TImapServerPanic::ECreateCompoundIsNotNull)); |
3512 ResetProgress(); |
3512 ResetProgress(); |
3513 |
3513 if (!CompleteIfBackgroundOpInProgress(aStatus)) |
3514 if (!CompleteIfBackgroundOpInProgress(aStatus)) |
3514 { |
3515 { |
3515 iImapCompound = CImapUpdateFlagOperation::NewL(*iImapSyncManager, |
3516 |
3516 iEntry, |
3517 iImapCompound = CImapUpdateFlagOperation::NewL(*iImapSyncManager, |
3517 *iImapSettings |
3518 iEntry, |
3518 ); |
3519 *iImapSettings |
3519 iRequestedOp = EUpdateFlag; |
3520 ); |
3520 StartPrimaryOperation(); |
3521 |
3521 Queue(aStatus); |
3522 iRequestedOp = EUpdateFlag; |
3522 SetActive(); |
3523 StartPrimaryOperation(); |
3523 } |
3524 Queue(aStatus); |
3524 } |
3525 SetActive(); |
3525 |
3526 } |
3526 |
3527 |
|
3528 } |
|
3529 |
|
3530 |
|
3531 |
|
3532 /** |
|
3533 Updates the selection of messages read/unread status from the remote server. |
|
3534 @param aStatus |
|
3535 */ |
|
3536 EXPORT_C void CImapProtocolController::UpdateEntriesFlagL( TRequestStatus& aStatus,const CMsvEntrySelection& aSourceSel ,TBool aFlagChanged) |
|
3537 |
|
3538 { |
|
3539 __LOG_TEXT(KDefaultLog, "CImapProtocolController::UpdateEntriesFlagL()"); |
|
3540 __ASSERT_DEBUG(iImapCompound==NULL, TImapServerPanic::ImapPanic(TImapServerPanic::ECreateCompoundIsNotNull)); |
|
3541 ResetProgress(); |
|
3542 |
|
3543 if (!CompleteIfBackgroundOpInProgress(aStatus)) |
|
3544 { |
|
3545 |
|
3546 iImapCompound = CImapUpdateFlagOperation::NewL(*iImapSyncManager, |
|
3547 iEntry, |
|
3548 *iImapSettings, |
|
3549 aSourceSel, |
|
3550 aFlagChanged); |
|
3551 iRequestedOp = EUpdateFlag; |
|
3552 StartPrimaryOperation(); |
|
3553 Queue(aStatus); |
|
3554 SetActive(); |
|
3555 } |
|
3556 |
|
3557 } |
|
3558 |
|