diff -r 56f325a607ea -r 0173bcd7697c userlibandfileserver/fileserver/sfat32/sl_cache.h --- a/userlibandfileserver/fileserver/sfat32/sl_cache.h Wed Dec 23 11:43:31 2009 +0000 +++ b/userlibandfileserver/fileserver/sfat32/sl_cache.h Thu Jan 07 13:38:45 2010 +0200 @@ -148,7 +148,7 @@ public: ~CMediaWTCache(); - static CMediaWTCache* NewL(TFatDriveInterface& aDrive, TUint32 aNumPages, TUint32 aPageSizeLog2); + static CMediaWTCache* NewL(TDriveInterface& aDrive, TUint32 aNumPages, TUint32 aPageSizeLog2); void ConstructL(TUint32 aNumPages, TUint32 aPageSizeLog2); @@ -169,7 +169,7 @@ protected: CMediaWTCache(); - CMediaWTCache(TFatDriveInterface& aDrive); + CMediaWTCache(TDriveInterface& aDrive); inline TInt64 CalcPageStartPos(TInt64 aPos) const; inline TUint32 PageSize() const; @@ -182,12 +182,12 @@ TUint32 FindOrGrabReadPageL(TInt64 aPos); protected: - TFatDriveInterface& iDrive; ///< reference to the driver for media access + TDriveInterface& iDrive; ///< reference to the driver for media access TUint32 iPageSizeLog2; ///< Log2 (cache page size) mutable TBool iAllPagesValid;///< ETrue if all cache pages have valid data TInt64 iCacheBasePos; ///< Cache pages base position, used to align them at cluster size RPointerArray iPages; ///< array of pointers to the cache pages. Used for organising LRU list - TUint32 iCacheDisabled :1; ///< if not 0 the cache is disabled totally and all reads and writes go via TFatDriveInterface directly + TUint32 iCacheDisabled :1; ///< if not 0 the cache is disabled totally and all reads and writes go via TDriveInterface directly };