menucontentsrv/srvsrc/menusrvmain.cpp
author jake
Wed, 31 Mar 2010 13:30:40 +0300
branchRCL_3
changeset 44 c2817bb2a55c
parent 19 502e5d91ad42
child 51 15e4dd19031c
permissions -rw-r--r--
Merged from FCL, GCC-E compilation error in homescreensrv (2098) fixed by Leo Zhengyh

/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/

// INCLUDE FILES
#include <mw/MemoryManager.h>
#include "menusrv.h"

// ==================== LOCAL FUNCTIONS ====================

/**
* Executable entry point
* @return Error code.
*/
GLDEF_C TInt E32Main()
    {
    RAllocator* iAllocator = MemoryManager::SwitchToFastAllocator();
    
    TInt err = RunMenuServer();
    
    MemoryManager::CloseFastAllocator(iAllocator);
    return err;
    }