diff -r f6d3d9676ee4 -r d63d727ee0a6 userlibandfileserver/fileserver/sfat/sl_cache.h --- a/userlibandfileserver/fileserver/sfat/sl_cache.h Tue Dec 08 08:11:42 2009 +0100 +++ b/userlibandfileserver/fileserver/sfat/sl_cache.h Mon Jan 04 12:25:19 2010 +0100 @@ -20,6 +20,15 @@ @internalTechnology */ +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!! +//!! WARNING!! DO NOT edit this file !! '\sfat' component is obsolete and is not being used. '\sfat32'replaces it +//!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + + #ifndef SL_CACHE_H #define SL_CACHE_H @@ -40,13 +49,13 @@ { public: - /** Enums for control functions. See Control() */ - enum TControl - { - EDisableCache = 0, ///< disable/enable cache, can be used for debug purposes - EDumpCache = 1, ///< print full cache content, can be used for debug purposes - ECacheInfo = 2, ///< print cache info, can be used for debug purposes - }; + /** Enums for control functions. See Control() */ + enum TControl + { + EDisableCache = 0, ///< disable/enable cache, can be used for debug purposes + EDumpCache = 1, ///< print full cache content, can be used for debug purposes + ECacheInfo = 2, ///< print cache info, can be used for debug purposes + }; virtual ~MWTCacheInterface() {} @@ -161,8 +170,8 @@ TUint32 PosCached(const TInt64& aPosToSearch, TInt64& aCachedPosStart); TUint32 CacheSizeInBytes() const; - void MakePageMRU(TInt64 aPos); - TUint32 PageSizeInBytesLog2() const; + void MakePageMRU(TInt64 aPos); + TUint32 PageSizeInBytesLog2() const; TInt Control(TUint32 aFunction, TUint32 aParam1, TAny* aParam2); inline void SetCacheBasePos(TInt64 aBasePos); //--