mtpfws/mtpfw/dataproviders/dputility/src/cmtpfsenumerator.cpp
branchRCL_3
changeset 32 f85613f12947
parent 27 81da3301b632
child 40 453dfc402455
equal deleted inserted replaced
27:81da3301b632 32:f85613f12947
   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]) )