calendarui/inc/calencustomcommandhandler.h
changeset 0 f979ecb2b13e
equal deleted inserted replaced
-1:000000000000 0:f979ecb2b13e
       
     1 /*
       
     2 * Copyright (c) 2007 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 "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: Interface for a customisation.
       
    15 * 						 To populate a menupane and toolbar and handle any commands. 
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 #ifndef MCALENCUSTOMCOMMANDHANDLER_H
       
    21 #define MCALENCUSTOMCOMMANDHANDLER_H
       
    22 
       
    23 // FORWARD DECLARATIONS
       
    24 class CAknToolbar;
       
    25 class CEikMenuPane;
       
    26 
       
    27 /**
       
    28  * MCalenCustomCommandHandler is an interface for a customisation
       
    29  * to populate a menupane and toolbar and handle any commands
       
    30  */
       
    31 class MCalenCustomCommandHandler
       
    32     {
       
    33 public:
       
    34     virtual TBool CustomiseMenuPaneL( TInt aResourceId, CEikMenuPane* aMenuPane ) = 0;
       
    35     virtual TBool HandleCommandL( TInt aCommandId ) = 0;
       
    36     virtual void Release( ) = 0;
       
    37     };
       
    38 
       
    39 #endif // MCALENCUSTOMCOMMANDHANDLER_H
       
    40 
       
    41 // End of file