webengine/osswebengine/MemoryManager/Inc/MemoryManager.h
changeset 26 cb62a4f66ebe
parent 25 0ed94ceaa377
child 46 30342f40acbf
--- a/webengine/osswebengine/MemoryManager/Inc/MemoryManager.h	Thu Dec 17 09:20:16 2009 +0200
+++ b/webengine/osswebengine/MemoryManager/Inc/MemoryManager.h	Thu Jan 07 13:31:38 2010 +0200
@@ -317,6 +317,27 @@
         * @return
         */
         IMPORT_C static void MemoryManager::InitFastAllocator();
+
+        /**
+        * initialize the OOM handler in the memorypool
+        * @since 9.2
+        * @param
+        * @param
+        * @return
+        */
+        IMPORT_C static void InitOOMDialog();
+
+        /**
+        * Reset the OOM dialog display flag in the memorypool; we want to pop the OOM dialog once per page,
+        * so we need to clear this when we are either done with the page (it unloads) or when we load a new one,
+        * so that it will display again when we run out of memory
+        * @since 9.2
+        * @param
+        * @param
+        * @return
+        */
+        IMPORT_C static void ResetOOMDialogDisplayed();
+        
     };
 
 #endif// !_MEMORYMANAGER_H_