1 /* |
|
2 * Copyright (c) 2002-2007 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: HWR layout UI class header |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 #ifndef C_PLUGINFEPMANAGERHWR_H |
|
30 #define C_PLUGINFEPMANAGERHWR_H |
|
31 |
|
32 //Include |
|
33 #include <e32base.h> |
|
34 #include "pluginfepmanagerbase.h" |
|
35 |
|
36 //Forward declaration |
|
37 class CPenInputImePluginJp; |
|
38 class RPeninputServer; |
|
39 |
|
40 /** |
|
41 * CPluginFepManagerHwr is the Japanese HWR layout UI interface |
|
42 * "proxy" class. |
|
43 * |
|
44 * @lib peninputimepluginjp.lib |
|
45 * @since S60 v3.2 |
|
46 */ |
|
47 class CPluginFepManagerHwr : public CPluginFepManagerBase |
|
48 { |
|
49 public: |
|
50 /** |
|
51 * Symbian constructor. |
|
52 * |
|
53 * @since S60 v3.2 |
|
54 * @param aOwner IME plugin reference |
|
55 * @param aPenInputServer The pointer of RPeninputServer. |
|
56 * @return Pointer to created CPluginFepManagerHwr object |
|
57 */ |
|
58 static CPluginFepManagerHwr* NewL(CPenInputImePluginJp& aOwner, |
|
59 RPeninputServer* aPenInputServer); |
|
60 |
|
61 /** |
|
62 * Set layout UI current number mode key mapping. |
|
63 * For example, 0-9 ; 0-9,*,# and etc. |
|
64 * |
|
65 * @since S60 v3.2 |
|
66 * |
|
67 * @param aAknEditorNumericKeymap Key mapping enum value. |
|
68 * @return None. |
|
69 */ |
|
70 void SetNumberModeKeyMappingL(TAknEditorNumericKeymap aAknEditorNumericKeymap); |
|
71 |
|
72 /** |
|
73 * Handle command come from FEP. |
|
74 * |
|
75 * @since S60 v3.2 |
|
76 * |
|
77 * @param aCommandId Command id. |
|
78 * @param aParam Command parameter. |
|
79 * @return None. |
|
80 */ |
|
81 void HandleCommandL(TInt aCommandId,TInt aParam); |
|
82 |
|
83 private: |
|
84 /** |
|
85 * C++ default constructor. |
|
86 * |
|
87 * @since S60 v3.2 |
|
88 * @param aOwner IME plugin reference |
|
89 * @param aPenInputServer The pointer of RPeninputServer. |
|
90 */ |
|
91 CPluginFepManagerHwr(CPenInputImePluginJp& aOwner, |
|
92 RPeninputServer* aPenInputServer); |
|
93 |
|
94 /** |
|
95 * Set layout primary range. |
|
96 * |
|
97 * @since S60 v3.2 |
|
98 * @param aEditorState Current editor state. |
|
99 * @return None |
|
100 */ |
|
101 void SetLayoutRange(const CAknEdwinState* aEditorState); |
|
102 |
|
103 private: |
|
104 TInt iNumberKeyMapping; |
|
105 }; |
|
106 |
|
107 #endif // C_PLUGINFEPMANAGERHWR_H |
|
108 |
|
109 // End Of File |
|