userlibandfileserver/fileserver/sfat/sl_cache.cpp
changeset 2 4122176ea935
parent 0 a41df078684a
child 42 a179b74831c9
equal deleted inserted replaced
0:a41df078684a 2:4122176ea935
    16 //
    16 //
    17 
    17 
    18 #include "sl_std.h"
    18 #include "sl_std.h"
    19 #include "sl_cache.h"
    19 #include "sl_cache.h"
    20 
    20 
       
    21 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    22 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    23 //!!
       
    24 //!! WARNING!! DO NOT edit this file !! '\sfat' component is obsolete and is not being used. '\sfat32'replaces it
       
    25 //!!
       
    26 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    27 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    28 
    21 //---------------------------------------------------------------------------------------------------------------------------------
    29 //---------------------------------------------------------------------------------------------------------------------------------
    22 
    30 
    23 /**
    31 /**
    24     CWTCachePage factory function.    
    32     CWTCachePage factory function.    
    25     @param  aPageSizeLog2 Log2(cache page size in bytes)
    33     @param  aPageSizeLog2 Log2(cache page size in bytes)
   146 /**
   154 /**
   147 Implementation of pure virtual function.
   155 Implementation of pure virtual function.
   148 @see MWTCacheInterface::MakePageMRU()
   156 @see MWTCacheInterface::MakePageMRU()
   149 */
   157 */
   150 void CMediaWTCache::MakePageMRU(TInt64 /*aPos*/)
   158 void CMediaWTCache::MakePageMRU(TInt64 /*aPos*/)
   151 	{
   159     {
   152 	return;
   160     return;
   153 	}
   161     }
   154 
   162 
   155 /**
   163 /**
   156 Implementation of pure virtual function.
   164 Implementation of pure virtual function.
   157 @see MWTCacheInterface::PageSizeInBytesLog2()
   165 @see MWTCacheInterface::PageSizeInBytesLog2()
   158 */
   166 */
   159 TUint32 CMediaWTCache::PageSizeInBytesLog2() const
   167 TUint32 CMediaWTCache::PageSizeInBytesLog2() const
   160 	{
   168     {
   161 	return iPageSizeLog2;
   169     return iPageSizeLog2;
   162 	}
   170     }
   163 
   171 
   164 /**
   172 /**
   165     Control method.
   173     Control method.
   166 
   174 
   167     @param  aFunction   control function
   175     @param  aFunction   control function