diff -r 0ed94ceaa377 -r cb62a4f66ebe webengine/osswebengine/MemoryManager/Inc/MemoryPool.h --- a/webengine/osswebengine/MemoryManager/Inc/MemoryPool.h Thu Dec 17 09:20:16 2009 +0200 +++ b/webengine/osswebengine/MemoryManager/Inc/MemoryPool.h Thu Jan 07 13:31:38 2010 +0200 @@ -21,7 +21,8 @@ #include #include -#include "MemoryManager.h" +#include +#include // CONSTANTS @@ -356,6 +357,8 @@ TUint PostCheck(); TUint FreeMemory( TFreeMem& aFree ); void RestoreRescueBuffer(); + void InitOOMDialog(); + void ResetOOMDialogDisplayed(); #ifdef OOM_LOGGING void DumpHeapLogs(); #endif @@ -363,6 +366,13 @@ void InitLocal(); RSymbianDLHeap *iAlloc; + // Out of memory dialog and localized resource message + void ShowOOMDialog(); + + CAknGlobalNote* iOOMErrorDialog; + HBufC *iOOMMessage; + bool isInitted; + bool iOOMDisplayed; }; #endif