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: |
|
15 * All possible menu and CBA events. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #ifndef MPHONEMENUANDCBAEVENTS_H |
|
21 #define MPHONEMENUANDCBAEVENTS_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <aknappui.h> |
|
25 |
|
26 // CLASS DECLARATION |
|
27 |
|
28 /** |
|
29 * All possible menu and CBA events |
|
30 */ |
|
31 class MPhoneMenuAndCbaEvents |
|
32 { |
|
33 |
|
34 public: |
|
35 |
|
36 /** |
|
37 * Destructor |
|
38 */ |
|
39 virtual ~MPhoneMenuAndCbaEvents(){}; |
|
40 |
|
41 /** |
|
42 * From CAknAppUi, handles commands. |
|
43 * @param aCommand It is the code of the command to be handled. |
|
44 * @returns boolean value was the command handled by the state |
|
45 * (ETrue) or not (EFalse) |
|
46 */ |
|
47 virtual TBool HandleCommandL( TInt aCommand ) = 0; |
|
48 |
|
49 /** |
|
50 * Process command. |
|
51 * @param aCommand It is the code of the command to be handled. |
|
52 * @returns boolean value was the command handled by the state |
|
53 * (ETrue) or not (EFalse) |
|
54 */ |
|
55 virtual TBool ProcessCommandL( TInt aCommand ) = 0; |
|
56 |
|
57 }; |
|
58 |
|
59 #endif // MPHONEMENUANDCBAEVENTS_H |
|
60 |
|
61 // End of File |