userlibandfileserver/fileserver/sfile/sf_memory_man.h
changeset 176 af6ec97d9189
parent 36 538db54a451d
child 257 3e88ff8f41d5
--- 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;