equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2002-2004 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 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef __AKNMFNECOMMANDOBSERVER |
|
21 #define __AKNMFNECOMMANDOBSERVER |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 |
|
27 /** |
|
28 * Interface for giving commands to MFNE editors from the owning controls. |
|
29 * This interface was added to forward touch command button events to MFNE |
|
30 * editors. The interface can be extended later by adding more commands to |
|
31 * TMfneCommand enum if needed. |
|
32 * |
|
33 * @lib eikctl.lib |
|
34 * @since Series 60 3.0 |
|
35 */ |
|
36 class MAknMfneCommandObserver |
|
37 { |
|
38 public: |
|
39 |
|
40 /** |
|
41 * List of commands that can be given to MFNE editor with |
|
42 * HandleMfneCommand() function |
|
43 */ |
|
44 enum TMfneCommand |
|
45 { |
|
46 EMfneIncrementCurrentFieldValue, |
|
47 EMfneDecrementCurrentFieldValue |
|
48 }; |
|
49 |
|
50 /** |
|
51 * Interface function allowing other classes to give commands to MFNE editors. |
|
52 * The commands are defined in TMfneCommand enum. |
|
53 * |
|
54 * @since Series 60 5.0 |
|
55 * @param aCommand Command defined in TMfneCommand |
|
56 */ |
|
57 virtual void HandleMfneCommandL(TInt aCommand) = 0; |
|
58 }; |
|
59 |
|
60 #endif // __AKNMFNECOMMANDOBSERVER |
|
61 |
|
62 // End of File |