menufw/menufwui/matrixmenu/src/mmgui.cpp
branchRCL_3
changeset 15 ff572dfe6d86
parent 0 f72a12da539e
child 16 9674c1a575e9
equal deleted inserted replaced
9:f966699dea19 15:ff572dfe6d86
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // INCLUDE FILES
    19 // INCLUDE FILES
       
    20 #include <mw/memorymanager.h>
    20 #include <eikstart.h>
    21 #include <eikstart.h>
    21 #include "mmapplication.h"
    22 #include "mmapplication.h"
    22 
    23 
    23 // ======== LOCAL FUNCTIONS ========
    24 // ======== LOCAL FUNCTIONS ========
    24 
    25 
    35 // 
    36 // 
    36 // ---------------------------------------------------------------------------
    37 // ---------------------------------------------------------------------------
    37 //
    38 //
    38 GLDEF_C TInt E32Main()
    39 GLDEF_C TInt E32Main()
    39 	{
    40 	{
    40 	return EikStart::RunApplication( NewApplication );
    41 	RAllocator* iAllocator = MemoryManager::SwitchToFastAllocator();
       
    42 	TInt err = EikStart::RunApplication( NewApplication );
       
    43 	MemoryManager::CloseFastAllocator(iAllocator);
       
    44 	return err;
    41 	}
    45 	}