diff -r 73ea206103e6 -r 43365a9b78a3 userlibandfileserver/fileserver/sfile/sf_memory_man.h --- a/userlibandfileserver/fileserver/sfile/sf_memory_man.h Wed Jun 23 19:44:53 2010 +0300 +++ b/userlibandfileserver/fileserver/sfile/sf_memory_man.h Tue Jul 06 15:50:07 2010 +0300 @@ -47,6 +47,10 @@ TUint8* Base(); void FreeMemoryChanged(TBool aIsMemoryLow); +#if defined(_DEBUG) || defined(_DEBUG_RELEASE) + void SetMemoryLow(TBool aSetMemoryLow) {isMemoryLow = aSetMemoryLow;}; +#endif //defined(_DEBUG) || defined(_DEBUG_RELEASE) + private: ~CCacheMemoryManager(); CCacheMemoryManager(TUint32 aMaxSize); @@ -91,8 +95,8 @@ public: static void ReadPropertiesFile(); - static TInt CacheSize(); - static TInt LowMemoryThreshold(); + static TInt32 CacheSize(); + static TInt32 LowMemoryThreshold(); private: static TInt32 iCacheSizeInBytes; static TInt32 iLowMemoryThreshold;