equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2005 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: Observer for avkon toolbar |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __AKNTOOLBAROBSERVER_H__ |
|
21 #define __AKNTOOLBAROBSERVER_H__ |
|
22 |
|
23 // INCLUDES |
|
24 #include <e32def.h> |
|
25 |
|
26 // FORWARD DECLARATIONS |
|
27 class CAknToolbar; |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * The observer interface to handle toolbar events |
|
33 * |
|
34 * @lib eikcoctl.lib |
|
35 * @since Series 60 3.1 |
|
36 */ |
|
37 class MAknToolbarObserver |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * Should be used to set the properties of some toolbar components |
|
42 * before it is drawn. |
|
43 * @param aResourceId The resource ID for particular toolbar |
|
44 * @param aToolbar The toolbar object pointer |
|
45 */ |
|
46 IMPORT_C virtual void DynInitToolbarL( TInt aResourceId, |
|
47 CAknToolbar* aToolbar ); |
|
48 |
|
49 /** |
|
50 * Handles toolbar events for a certain toolbar item. |
|
51 * @param aCommand The command ID of some toolbar item. |
|
52 */ |
|
53 virtual void OfferToolbarEventL( TInt aCommand ) = 0; |
|
54 |
|
55 protected: |
|
56 IMPORT_C virtual TInt MAknToolbarObserver_Reserved_1(); |
|
57 IMPORT_C virtual TInt MAknToolbarObserver_Reserved_2(); |
|
58 }; |
|
59 |
|
60 #endif // __AKNTOOLBAROBSERVER_H__ |
|
61 |
|
62 // end of file |