languageinterworkingfw/servicehandler/src/liwmenubinding.cpp
author Kiiskinen Klaus (Nokia-D-MSW/Tampere) <klaus.kiiskinen@nokia.com>
Mon, 30 Mar 2009 12:51:20 +0300
changeset 0 99ef825efeca
permissions -rw-r--r--
Revision: 200911 Kit: 200912

/*
* Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of the License "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 <ecom/ecom.h>
#include "liwmenubinding.h"

CLiwMenuBinding* CLiwMenuBinding::NewL()
    {
    CLiwMenuBinding* bind = new (ELeave) CLiwMenuBinding();
    CleanupStack::PushL(bind);
    bind->ConstructL();
    CleanupStack::Pop(bind); // bind
    return bind;
    }


CLiwMenuBinding* CLiwMenuBinding::NewL(TInt aMenuItemIndex, TInt aParentId)
    {
    CLiwMenuBinding* bind = new (ELeave) CLiwMenuBinding(aMenuItemIndex, aParentId);
    CleanupStack::PushL(bind);
    bind->ConstructL();
    CleanupStack::Pop(bind); // bind
    return bind;
    }


CLiwMenuBinding* CLiwMenuBinding::NewLC()
    {
    CLiwMenuBinding* bind = new (ELeave) CLiwMenuBinding();
    CleanupStack::PushL(bind);
    bind->ConstructL();
    return bind;
    }


CLiwMenuBinding* CLiwMenuBinding::NewLC(TInt aMenuItemIndex, TInt aMenuId)
    {
    CLiwMenuBinding* bind = new (ELeave) CLiwMenuBinding(aMenuItemIndex, aMenuId);
    CleanupStack::PushL(bind);
    bind->ConstructL();
    return bind;
    }



CLiwMenuBinding::CLiwMenuBinding()
    {
    }


void CLiwMenuBinding::ConstructL()
    {
    }


CLiwMenuBinding::CLiwMenuBinding(TInt aMenuItemIndex, TInt aMenuId) 
:iMenuItemIndex(aMenuItemIndex), iMenuId(aMenuId)
    {
    // Nothing to do here.
    }



CLiwMenuBinding::~CLiwMenuBinding()
    {
    }


// End of file