|
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: Provides the TAknFepUiInputStateInitialFullNumber definition. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 #ifndef __AKN_FEP_UI_INPUT_STATE_INIT_FULL_NUMBER_H__ |
|
30 #define __AKN_FEP_UI_INPUT_STATE_INIT_FULL_NUMBER_H__ |
|
31 |
|
32 // INCLUDES |
|
33 #include <e32std.h> |
|
34 |
|
35 #include "AknFepUiInputStateInitialJapaneseBase.h" |
|
36 |
|
37 // CONSTANTS |
|
38 |
|
39 // MACROS |
|
40 |
|
41 // DATA TYPES |
|
42 |
|
43 // FUNCTION PROTOTYPES |
|
44 |
|
45 // FORWARD DECLARATIONS |
|
46 |
|
47 // CLASS DECLARATION |
|
48 class MAknFepUIManagerStateInterface; |
|
49 |
|
50 /** |
|
51 * TAknFepUiInputStateInitialFullNumber class. |
|
52 * |
|
53 * @lib AknFep.lib |
|
54 * @since 2.6 |
|
55 */ |
|
56 class TAknFepUiInputStateInitialFullNumber |
|
57 :public TAknFepUiInputStateInitialJapaneseBase |
|
58 { |
|
59 public: // onstructors and destructor |
|
60 /** |
|
61 * C++ default Constructor |
|
62 * |
|
63 * @since 2.6 |
|
64 * @param aOwner Object derived MAknFepUIManagerStateInterface |
|
65 * @param aUIContainer MAknFepUICtrlContainerJapanese object |
|
66 */ |
|
67 TAknFepUiInputStateInitialFullNumber( |
|
68 MAknFepUIManagerStateInterface* aOwner, |
|
69 MAknFepUICtrlContainerJapanese* aUIContainer); |
|
70 |
|
71 |
|
72 public:// Functions from base classes |
|
73 /** |
|
74 * From TAknFepUiInputStateInitialJapaneseBase |
|
75 * Initialize state |
|
76 * |
|
77 * @since 2.6 |
|
78 */ |
|
79 void InitializeStateL(); |
|
80 |
|
81 /** |
|
82 * From TAknFepInputStateBase |
|
83 * Hnadling Keypress events. This Method is called by CAknFepUIManagerJapanese. |
|
84 * |
|
85 * @since 3.0 |
|
86 * @param aKey The event key code |
|
87 * @param aLength The Length of keypress |
|
88 * @return ETrue If aKey was handled |
|
89 */ |
|
90 TBool HandleKeyL(TInt aKey, TKeyPressLength aLength); |
|
91 |
|
92 public: // Functions from MPtiObserver interface |
|
93 |
|
94 virtual void KeyTimerExpired(); |
|
95 |
|
96 private: // New function |
|
97 /** |
|
98 * Handle ITUT-keypad characters (half-width only) |
|
99 * |
|
100 * @since 3.0 |
|
101 * @param aKey The event key code |
|
102 * @param aLength The Length of keypress |
|
103 * @return ETrue If aKey was handled |
|
104 */ |
|
105 TBool HandleOwnKeyL(TInt aKey, TKeyPressLength aLength); |
|
106 |
|
107 /** |
|
108 * Handle Qwerty characters |
|
109 * |
|
110 * @since 3.0 |
|
111 * @param aKey The event key code |
|
112 * @param aLength The Length of keypress |
|
113 * @return ETrue If aKey was handled |
|
114 */ |
|
115 TBool HandleQwertyKeyL(TInt aKey, |
|
116 TKeyPressLength aLength, |
|
117 TWidthChar aWidth); |
|
118 |
|
119 |
|
120 }; |
|
121 #endif //__AKN_FEP_UI_INPUT_STATE_INIT_FULL_NUMBER_H__ |
|
122 // End of file |