diff -r 5af6c74cd793 -r af6ec97d9189 userlibandfileserver/fileserver/sfile/sf_memory_man.h --- a/userlibandfileserver/fileserver/sfile/sf_memory_man.h Wed Jun 23 11:59:44 2010 +0100 +++ b/userlibandfileserver/fileserver/sfile/sf_memory_man.h Wed Jun 23 12:52:28 2010 +0100 @@ -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;