webengine/widgetengine/inc/MenuCallbacks.h
changeset 0 dd21522fd290
equal deleted inserted replaced
-1:000000000000 0:dd21522fd290
       
     1 /*
       
     2 * Copyright (c) 2004 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __MENUCALLBACKS_H
       
    21 #define __MENUCALLBACKS_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <e32base.h>
       
    25 #include "WidgetEventHandler.h"
       
    26 
       
    27 class MJSMenuCallbacks
       
    28 {
       
    29 public:
       
    30     virtual void* getFromMenuItemCollection( TInt aCmdId ) = 0;            
       
    31     virtual void* getFromMenuItemCollection( const TDesC& aTextVal ) = 0;              
       
    32     virtual void hideSoftkeys() = 0;
       
    33     virtual void showSoftkeys() = 0;          
       
    34     virtual void setRightSoftKeyLabel( const TDesC& aText ) = 0;
       
    35     virtual void setLeftSoftKeyLabel( const TDesC& aText ) = 0;
       
    36     virtual void clearMenuItems() = 0;    
       
    37 };
       
    38 
       
    39 #endif