epoc32/include/mw/MemoryManager.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
     1.1 --- a/epoc32/include/mw/MemoryManager.h	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/mw/MemoryManager.h	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -297,6 +297,47 @@
     1.4          * @return
     1.5          */
     1.6          IMPORT_C static void CloseFastAllocator(RAllocator* aDefaultAllocator);
     1.7 +
     1.8 +        /**
     1.9 +        * Create fast allocator and switch as default heap. Special case if fast allocator
    1.10 +        * has to be created from SetupThreadHeap().
    1.11 +        * 
    1.12 +        * @since 9.2
    1.13 +        * @param
    1.14 +        * @return
    1.15 +        */        
    1.16 +        IMPORT_C static void MemoryManager::CreateFastAllocator();
    1.17 +
    1.18 +        /**
    1.19 +        * Initialize MemoryManager library. Special case if CreateFastAllocator is
    1.20 +        * called from SetupThreadHeap().
    1.21 +        * 
    1.22 +        * @since 9.2
    1.23 +        * @param
    1.24 +        * @return
    1.25 +        */
    1.26 +        IMPORT_C static void MemoryManager::InitFastAllocator();
    1.27 +
    1.28 +        /**
    1.29 +        * initialize the OOM handler in the memorypool
    1.30 +        * @since 9.2
    1.31 +        * @param
    1.32 +        * @param
    1.33 +        * @return
    1.34 +        */
    1.35 +        IMPORT_C static void InitOOMDialog();
    1.36 +
    1.37 +        /**
    1.38 +        * Reset the OOM dialog display flag in the memorypool; we want to pop the OOM dialog once per page,
    1.39 +        * so we need to clear this when we are either done with the page (it unloads) or when we load a new one,
    1.40 +        * so that it will display again when we run out of memory
    1.41 +        * @since 9.2
    1.42 +        * @param
    1.43 +        * @param
    1.44 +        * @return
    1.45 +        */
    1.46 +        IMPORT_C static void ResetOOMDialogDisplayed();
    1.47 +        
    1.48      };
    1.49  
    1.50  #endif// !_MEMORYMANAGER_H_