javamanager/javainstaller/installer/src.s60/jadjarmatcher/jadjarmatcherscanfrominbox.cpp
changeset 50 023eef975703
parent 21 2a9601315dfc
child 83 26b2b12093af
equal deleted inserted replaced
49:35baca0e7a2e 50:023eef975703
   141                         {
   141                         {
   142                             RFile atta;
   142                             RFile atta;
   143                             TRAP(err, atta = iAttaMan->GetAttachmentFileL(attaInfo->Id()));
   143                             TRAP(err, atta = iAttaMan->GetAttachmentFileL(attaInfo->Id()));
   144                             if (KErrNone == err)
   144                             if (KErrNone == err)
   145                             {
   145                             {
   146                                 aResultArray.Insert(atta, 0);
   146                                 aResultArray.InsertL(atta, 0);
   147                             }
   147                             }
   148                         }
   148                         }
   149                     }
   149                     }
   150                     else
   150                     else
   151                     {
   151                     {
   204         if ((*entry)[loop].iType.iUid == KUidMsvServiceEntryValue)
   204         if ((*entry)[loop].iType.iUid == KUidMsvServiceEntryValue)
   205         {
   205         {
   206             TMsvEntry index = (*entry)[loop];
   206             TMsvEntry index = (*entry)[loop];
   207             if (KUidMsgTypePOP3 == index.iMtm || KUidMsgTypeIMAP4 == index.iMtm)
   207             if (KUidMsgTypePOP3 == index.iMtm || KUidMsgTypeIMAP4 == index.iMtm)
   208             {
   208             {
   209                 aRootEntryArray.Insert((*entry)[loop].Id(), 0);
   209                 aRootEntryArray.InsertL((*entry)[loop].Id(), 0);
   210             }
   210             }
   211         }
   211         }
   212     }
   212     }
   213 
   213 
   214     CleanupStack::PopAndDestroy(entry);
   214     CleanupStack::PopAndDestroy(entry);
   243                     index.iType.iUid == KUidMsvAttachmentEntryValue)
   243                     index.iType.iUid == KUidMsvAttachmentEntryValue)
   244             {
   244             {
   245                 if (index.Visible() && index.Complete() &&
   245                 if (index.Visible() && index.Complete() &&
   246                         !index.InPreparation() && !index.Deleted())
   246                         !index.InPreparation() && !index.Deleted())
   247                 {
   247                 {
   248                     aEntryArray.Insert(aId, 0);
   248                     aEntryArray.InsertL(aId, 0);
   249                 }
   249                 }
   250             }
   250             }
   251         }
   251         }
   252     }
   252     }
   253 
   253