|
1 /* |
|
2 * Copyright (c) 2006 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: Handle softkeys updates |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef CRCTLSOFTKEYSOBSERVERIMPL_H |
|
21 #define CRCTLSOFTKEYSOBSERVERIMPL_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <BrCtlSoftkeysObserver.h> |
|
25 |
|
26 |
|
27 /** |
|
28 * This observer is notified when the browser requests softkeys changes |
|
29 * |
|
30 * @lib BrowserEngine.lib |
|
31 * @since 2.8 |
|
32 */ |
|
33 class CBrCtlSoftkeysObserver: public CBase, public MBrCtlSoftkeysObserver |
|
34 { |
|
35 public: // From MBrCtlSoftkeysObserver |
|
36 |
|
37 /** |
|
38 * Browser Control requests to update a softkey |
|
39 * @since 2.8 |
|
40 * @param aKeySoftkey Update the left softkey or the right softkey |
|
41 * @param aLabel The label associated with the softkey update |
|
42 * @param aCommandId The command to use if the softkey is selected by the user |
|
43 * @param aBrCtlSoftkeyChangeReason The reason for the softkey change |
|
44 * @return void |
|
45 */ |
|
46 virtual void UpdateSoftkeyL(TBrCtlKeySoftkey /*aKeySoftkey*/, |
|
47 const TDesC& /*aLabel*/, |
|
48 TUint32 /*aCommandId*/, |
|
49 TBrCtlSoftkeyChangeReason /*aBrCtlSoftkeyChangeReason*/) {} |
|
50 }; |
|
51 |
|
52 #endif // BRCTLSOFTKEYSOBSERVERIMPL_H |
|
53 |
|
54 // End of File |