2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
14 * Description: Observer for avkon toolbar
20 #ifndef __AKNTOOLBAROBSERVER_H__
21 #define __AKNTOOLBAROBSERVER_H__
26 // FORWARD DECLARATIONS
32 * The observer interface to handle toolbar events
35 * @since Series 60 3.1
37 class MAknToolbarObserver
41 * Should be used to set the properties of some toolbar components
43 * @param aResourceId The resource ID for particular toolbar
44 * @param aToolbar The toolbar object pointer
46 IMPORT_C virtual void DynInitToolbarL( TInt aResourceId,
47 CAknToolbar* aToolbar );
50 * Handles toolbar events for a certain toolbar item.
51 * @param aCommand The command ID of some toolbar item.
53 virtual void OfferToolbarEventL( TInt aCommand ) = 0;
56 IMPORT_C virtual TInt MAknToolbarObserver_Reserved_1();
57 IMPORT_C virtual TInt MAknToolbarObserver_Reserved_2();
60 #endif // __AKNTOOLBAROBSERVER_H__