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