mtpdataproviders/mtpimagedp/inc/cmtpimagedp.h
changeset 29 3ae5cb0b4c02
parent 20 6e82ae192c3a
child 31 a26669f87b46
--- a/mtpdataproviders/mtpimagedp/inc/cmtpimagedp.h	Mon May 03 13:19:02 2010 +0300
+++ b/mtpdataproviders/mtpimagedp/inc/cmtpimagedp.h	Fri Jun 25 16:54:01 2010 +0800
@@ -63,8 +63,6 @@
     
     TMTPFormatCode FindFormat(const TDesC& aExtension);
     const TDesC& FindMimeType(const TDesC& aExtension);
-    TBool GetCacheParentHandle(const TDesC& aParentPath, TUint32& aParentHandle);
-    void  SetCacheParentHandle(const TDesC& aParentPath, TUint32 aParentHandle);
     void AppendDeleteObjectsArrayL(const TDesC& aSuid);
     void HandleDeleteObjectsArray();
     void IncreaseNewPictures(TInt aCount);
@@ -95,14 +93,7 @@
     void SessionOpenedL(const TMTPNotificationParamsSessionChange& aSession);
     void RenameObjectL(const TMTPNotificationParamsHandle& aParam);
     
-    TUint QueryImageObjectCountL();
-    
-private:
-    struct SMTPImageDpParentCache
-        {        
-        TPath   iPath;
-        TUint32 iHandle;
-        };
+    TUint QueryImageObjectCountL();    
     
 private:
 	/**
@@ -130,9 +121,7 @@
     /**
      * contain the mapping image's extension to mime type
      */
-    RHashMap<TBuf<KMaxExtNameLength>, TBuf<KMaxMimeNameLength> > iMimeMappings;    
-    
-    SMTPImageDpParentCache  iParentCache;
+    RHashMap<TBuf<KMaxExtNameLength>, TBuf<KMaxMimeNameLength> > iMimeMappings;
     
     TInt                    iActiveProcessor;
     TBool                   iActiveProcessorRemoved;