equal
deleted
inserted
replaced
567 void CIpsPlgSearch::GetFoldersL( TSearchParams& aParams ) |
567 void CIpsPlgSearch::GetFoldersL( TSearchParams& aParams ) |
568 { |
568 { |
569 FUNC_LOG; |
569 FUNC_LOG; |
570 iActiveEntry->SetEntryL( aParams.iMailbox.Id() ); |
570 iActiveEntry->SetEntryL( aParams.iMailbox.Id() ); |
571 |
571 |
572 if ( iActiveEntry->Entry().iMtm == KSenduiMtmPop3Uid ) |
572 if ( iActiveEntry->Entry().iMtm == KUidMsgTypePOP3 ) |
573 { |
573 { |
574 aParams.iFolderIds.AppendL( |
574 aParams.iFolderIds.AppendL( |
575 TFSMailMsgId( iPlugin.PluginId(), aParams.iMailbox.Id() ) ); |
575 TFSMailMsgId( iPlugin.PluginId(), aParams.iMailbox.Id() ) ); |
576 return; |
576 return; |
577 } |
577 } |
1003 for ( TInt msg = 0; msg < msgs; msg++ ) |
1003 for ( TInt msg = 0; msg < msgs; msg++ ) |
1004 { |
1004 { |
1005 const TMsvEntry& entry = ( *iActiveEntry )[msg]; |
1005 const TMsvEntry& entry = ( *iActiveEntry )[msg]; |
1006 if ( entry.iType == KUidMsvMessageEntry && |
1006 if ( entry.iType == KUidMsvMessageEntry && |
1007 entry.iServiceId == serviceId && |
1007 entry.iServiceId == serviceId && |
1008 ( entry.iMtm.iUid == KSenduiMtmSmtpUidValue || |
1008 ( entry.iMtm == KUidMsgTypeSMTP || |
1009 entry.iMtm.iUid == iPlugin.MtmId().iUid ) ) |
1009 entry.iMtm.iUid == iPlugin.MtmId().iUid ) ) |
1010 { |
1010 { |
1011 iEmailMessages.AppendL( TMsgContainer( entry, |
1011 iEmailMessages.AppendL( TMsgContainer( entry, |
1012 iCurrentSearch.iSortCriteria ) ); |
1012 iCurrentSearch.iSortCriteria ) ); |
1013 } |
1013 } |