userlibandfileserver/fileserver/sfile/sf_memory_man.h
branchRCL_3
changeset 256 c1f20ce4abcf
parent 36 538db54a451d
child 257 3e88ff8f41d5
--- a/userlibandfileserver/fileserver/sfile/sf_memory_man.h	Thu Aug 19 11:14:22 2010 +0300
+++ b/userlibandfileserver/fileserver/sfile/sf_memory_man.h	Tue Aug 31 16:34:26 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;