messagingappbase/mcesettings/src/MceSettingsEmailSel.cpp
branchRCL_3
changeset 22 52d61119153d
parent 17 caea42e26caa
child 24 e00582ce7ecd
equal deleted inserted replaced
21:c6838af47512 22:52d61119153d
   728                       // it is visible, or,there is no associated related
   728                       // it is visible, or,there is no associated related
   729                       // service, or, we have been asked to list all
   729                       // service, or, we have been asked to list all
   730                       // services.                    
   730                       // services.                    
   731                       entryUid.iUid = tentry2.Id();    
   731                       entryUid.iUid = tentry2.Id();    
   732                       //If cmail box add to the hash table and cmaillist
   732                       //If cmail box add to the hash table and cmaillist
   733                       if(tentry2.iMtm.iUid == KUidMsgTypeFsMtmVal )
   733                       if(tentry2.iMtm.iUid == KUidMsgTypeFsMtmVal 
       
   734                               && timeItems != NULL && cmaillist != NULL)
   734                           {
   735                           {
   735                           TTimeIntervalMicroSeconds difference = timeNow.MicroSecondsFrom( tentry2.iDate.Int64() );
   736                           TTimeIntervalMicroSeconds difference = timeNow.MicroSecondsFrom( tentry2.iDate.Int64() );
   736                           TInt ret = iCmailBoxes->Insert(difference.Int64() , cc );
   737                           TInt ret = iCmailBoxes->Insert(difference.Int64() , cc );
   737                           timeItems->AppendL(difference.Int64());
   738                           timeItems->AppendL(difference.Int64());
   738                           cmaillist->AppendL(tentry2.iDetails);
   739                           cmaillist->AppendL(tentry2.iDetails);
   739                           }
   740                           }
   740                       //Add Non Cmail
   741                       //Add Non Cmail
   741                       else
   742                       else if( tentry2.iMtm.iUid != KSenduiMtmImap4UidValue && tentry2.iMtm.iUid != KSenduiMtmSmtpUidValue && tentry2.iMtm.iUid != KSenduiMtmPop3UidValue)
   742                           {
   743                           {
   743                           aListItemUids.AppendL( entryUid );
   744                           aListItemUids.AppendL( entryUid );
   744                           aListItems.AppendL( tentry2.iDetails );
   745                           aListItems.AppendL( tentry2.iDetails );
   745                           }
   746                           }
   746                       }
   747                       }