diff -r 6e82ae192c3a -r a5c0bb5018eb mtpdataproviders/mtpimagedp/src/cmtpimagedp.cpp --- a/mtpdataproviders/mtpimagedp/src/cmtpimagedp.cpp Mon May 03 13:19:02 2010 +0300 +++ b/mtpdataproviders/mtpimagedp/src/cmtpimagedp.cpp Fri May 14 16:42:01 2010 +0300 @@ -398,29 +398,29 @@ case EFormatExtensionSets: { - _LIT(KFormatExtensionJpg, "0x3801:jpg::3");//3 means file dp will enumerate all image files instead of image dp. + _LIT(KFormatExtensionJpg, "0x3801:jpg:::3");//3 means file dp will enumerate all image files instead of image dp. aStrings.AppendL(KFormatExtensionJpg); - _LIT(KFormatExtensionJpe, "0x3801:jpe::3"); + _LIT(KFormatExtensionJpe, "0x3801:jpe:::3"); aStrings.AppendL(KFormatExtensionJpe); - _LIT(KFormatExtensionJpeg, "0x3801:jpeg::3"); + _LIT(KFormatExtensionJpeg, "0x3801:jpeg:::3"); aStrings.AppendL(KFormatExtensionJpeg); /* * bmp files */ - _LIT(KFormatExtensionBmp, "0x3804:bmp::3"); + _LIT(KFormatExtensionBmp, "0x3804:bmp:::3"); aStrings.AppendL(KFormatExtensionBmp); /* * gif files */ - _LIT(KFormatExtensionGif, "0x3807:gif::3"); + _LIT(KFormatExtensionGif, "0x3807:gif:::3"); aStrings.AppendL(KFormatExtensionGif); /* * png files */ - _LIT(KFormatExtensionPng, "0x380B:png::3"); + _LIT(KFormatExtensionPng, "0x380B:png:::3"); aStrings.AppendL(KFormatExtensionPng); /* @@ -723,29 +723,6 @@ return newPictures; } -TBool CMTPImageDataProvider::GetCacheParentHandle(const TDesC& aParentPath, TUint32& aParentHandle) - { - TBool ret = EFalse; - - if (iParentCache.iPath.Compare(aParentPath) == 0) - { - aParentHandle = iParentCache.iHandle; - ret = ETrue; - } - else - { - aParentHandle = KMTPHandleNone; - } - - return ret; - } - -void CMTPImageDataProvider::SetCacheParentHandle(const TDesC& aParentPath, TUint32 aParentHandle) - { - iParentCache.iPath.Copy(aParentPath); - iParentCache.iHandle = aParentHandle; - } - void CMTPImageDataProvider::AppendDeleteObjectsArrayL(const TDesC& aSuid) { iDeleteObjectsArray.AppendL(aSuid.AllocLC());