ipsservices/ipssosplugin/src/ipsplgsyncstatehandler.cpp
branchRCL_3
changeset 60 d620048b4810
parent 13 0396474f30f5
child 63 d189ee25cf9d
equal deleted inserted replaced
52:efd4f1afd43e 60:d620048b4810
   139        {
   139        {
   140        const CIpsPlgBaseOperation* baseOp = iOperationsRef[i]->BaseOperation();
   140        const CIpsPlgBaseOperation* baseOp = iOperationsRef[i]->BaseOperation();
   141        
   141        
   142        if ( baseOp && baseOp->FSMailboxId() == aMailboxId &&
   142        if ( baseOp && baseOp->FSMailboxId() == aMailboxId &&
   143             ( baseOp->IpsOpType() == EIpsOpTypePop3SyncOp ||
   143             ( baseOp->IpsOpType() == EIpsOpTypePop3SyncOp ||
       
   144               baseOp->IpsOpType() == EIpsOpTypePop3PopulateOp ||		
   144               baseOp->IpsOpType() == EIpsOpTypeImap4SyncOp ||
   145               baseOp->IpsOpType() == EIpsOpTypeImap4SyncOp ||
   145               baseOp->IpsOpType() == EIpsOpTypeImap4PopulateOp ) )
   146               baseOp->IpsOpType() == EIpsOpTypeImap4PopulateOp ) )
   146            {
   147            {
   147            // Due to timing problems we might in some rare cases report
   148            // Due to timing problems we might in some rare cases report
   148            // EmailSyncing here even if the actual syncing is already
   149            // EmailSyncing here even if the actual syncing is already
   166        {
   167        {
   167        const CIpsPlgBaseOperation* baseOp = iOperationsRef[i]->BaseOperation();
   168        const CIpsPlgBaseOperation* baseOp = iOperationsRef[i]->BaseOperation();
   168 
   169 
   169        if ( baseOp && baseOp->FSMailboxId() == aMailBoxId &&
   170        if ( baseOp && baseOp->FSMailboxId() == aMailBoxId &&
   170               ( baseOp->IpsOpType() == EIpsOpTypePop3SyncOp
   171               ( baseOp->IpsOpType() == EIpsOpTypePop3SyncOp
       
   172                || baseOp->IpsOpType() == EIpsOpTypePop3PopulateOp		  
   171                || baseOp->IpsOpType() == EIpsOpTypeImap4SyncOp
   173                || baseOp->IpsOpType() == EIpsOpTypeImap4SyncOp
   172                || baseOp->IpsOpType() == EIpsOpTypeOnlineOp
   174                || baseOp->IpsOpType() == EIpsOpTypeOnlineOp
   173                || baseOp->IpsOpType() == EIpsOpTypeImap4PopulateOp ) )
   175                || baseOp->IpsOpType() == EIpsOpTypeImap4PopulateOp ) )
   174            {
   176            {
   175            // Due to timing problems we might in some rare cases report
   177            // Due to timing problems we might in some rare cases report