equal
deleted
inserted
replaced
120 storageMgr.GetLogicalStoragesL(params, storages); |
120 storageMgr.GetLogicalStoragesL(params, storages); |
121 // Construct the StorageIDs list. |
121 // Construct the StorageIDs list. |
122 const TUint KCount(storages.Count()); |
122 const TUint KCount(storages.Count()); |
123 for (TUint i(0); (i < KCount); i++) |
123 for (TUint i(0); (i < KCount); i++) |
124 { |
124 { |
125 iStorages.Insert(storages[i]->Uint(CMTPStorageMetaData::EStorageId),0); |
125 iStorages.InsertL(storages[i]->Uint(CMTPStorageMetaData::EStorageId),0); |
126 __FLOG_VA((_L8("FileEnumerator is doing storage id = %x\r\n"), storages[i]->Uint(CMTPStorageMetaData::EStorageId) )); |
126 __FLOG_VA((_L8("FileEnumerator is doing storage id = %x\r\n"), storages[i]->Uint(CMTPStorageMetaData::EStorageId) )); |
127 } |
127 } |
128 CleanupStack::PopAndDestroy(&storages); |
128 CleanupStack::PopAndDestroy(&storages); |
129 } |
129 } |
130 else if (aStorageId != KMTPNotSpecified32) |
130 else if (aStorageId != KMTPNotSpecified32) |
499 { |
499 { |
500 iCurrentPath.Append('\\'); |
500 iCurrentPath.Append('\\'); |
501 ++len; |
501 ++len; |
502 format = EMTPFormatCodeAssociation; |
502 format = EMTPFormatCodeAssociation; |
503 AddEntryL(iCurrentPath, handle, format, KMTPDeviceDPID, entry, iStorages[iScanPos], iParentHandle); |
503 AddEntryL(iCurrentPath, handle, format, KMTPDeviceDPID, entry, iStorages[iScanPos], iParentHandle); |
504 iDirStack.Append(TStackItem(iCurrentPath, handle)); |
504 iDirStack.AppendL(TStackItem(iCurrentPath, handle)); |
505 } |
505 } |
506 } |
506 } |
507 else |
507 else |
508 { |
508 { |
509 if ( iExclusionMgr.IsFileAcceptedL(iCurrentPath,iStorages[iScanPos]) ) |
509 if ( iExclusionMgr.IsFileAcceptedL(iCurrentPath,iStorages[iScanPos]) ) |