webengine/osswebengine/MemoryManager/Inc/MemoryManager.h
changeset 65 5bfc169077b2
parent 37 cb62a4f66ebe
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
   295         * @param
   295         * @param
   296         * @param
   296         * @param
   297         * @return
   297         * @return
   298         */
   298         */
   299         IMPORT_C static void CloseFastAllocator(RAllocator* aDefaultAllocator);
   299         IMPORT_C static void CloseFastAllocator(RAllocator* aDefaultAllocator);
   300 
       
   301         /**
       
   302         * Create fast allocator and switch as default heap. Special case if fast allocator
       
   303         * has to be created from SetupThreadHeap().
       
   304         * 
       
   305         * @since 9.2
       
   306         * @param
       
   307         * @return
       
   308         */        
       
   309         IMPORT_C static void MemoryManager::CreateFastAllocator();
       
   310 
       
   311         /**
       
   312         * Initialize MemoryManager library. Special case if CreateFastAllocator is
       
   313         * called from SetupThreadHeap().
       
   314         * 
       
   315         * @since 9.2
       
   316         * @param
       
   317         * @return
       
   318         */
       
   319         IMPORT_C static void MemoryManager::InitFastAllocator();
       
   320 
       
   321         /**
       
   322         * initialize the OOM handler in the memorypool
       
   323         * @since 9.2
       
   324         * @param
       
   325         * @param
       
   326         * @return
       
   327         */
       
   328         IMPORT_C static void InitOOMDialog();
       
   329 
       
   330         /**
       
   331         * Reset the OOM dialog display flag in the memorypool; we want to pop the OOM dialog once per page,
       
   332         * so we need to clear this when we are either done with the page (it unloads) or when we load a new one,
       
   333         * so that it will display again when we run out of memory
       
   334         * @since 9.2
       
   335         * @param
       
   336         * @param
       
   337         * @return
       
   338         */
       
   339         IMPORT_C static void ResetOOMDialogDisplayed();
       
   340         
       
   341     };
   300     };
   342 
   301 
   343 #endif// !_MEMORYMANAGER_H_
   302 #endif// !_MEMORYMANAGER_H_