|
1 /* |
|
2 * Copyright (c) 2002 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 * Provides the TAknFepInputStateInitialHalfQwertyWesternPredictive definition. |
|
16 * This state is active when the predictive Half QWERTY mode is used but no |
|
17 * inline editing is yet ongoing. The entry state is activated when some |
|
18 * character key press is gained. |
|
19 * |
|
20 */ |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 #ifndef __AKN_FEP_UI_INPUT_STATE_INITIAL_HALFQWERTY_WESTERN_PREDICTIVE_H__ |
|
34 #define __AKN_FEP_UI_INPUT_STATE_INITIAL_HALFQWERTY_WESTERN_PREDICTIVE_H__ |
|
35 |
|
36 #include "AknFepUiInputStateBase.h" |
|
37 #include "AknFepUiInputStateInitialMultitapBase.h" |
|
38 |
|
39 class TAknFepUiInputStateInitialHalfQwertyWesternPredictive : /*public TAknFepInputStateBase, */public TAknFepInputStateInitialMultitapBase |
|
40 { |
|
41 public: |
|
42 /** |
|
43 * Constructor |
|
44 * @param aOwner The UI manager owning this state object. |
|
45 */ |
|
46 TAknFepUiInputStateInitialHalfQwertyWesternPredictive(MAknFepUIManagerStateInterface* aOwner); |
|
47 |
|
48 /** |
|
49 * Handler for the key presses. |
|
50 * @param aKey The key code to be handled |
|
51 * @param aLength The lengyh of the key press |
|
52 */ |
|
53 TBool HandleKeyL(TInt aKey, TKeyPressLength aLength); |
|
54 |
|
55 /** |
|
56 * Called when the Chr multitap timer expires. The case should be updated at that time. |
|
57 */ |
|
58 void KeyTimerExpired(); |
|
59 private: |
|
60 void HandleShiftState( TInt aKey ); |
|
61 |
|
62 }; |
|
63 |
|
64 #endif //__AKN_FEP_UI_INPUT_STATE_INITIAL_HALFQWERTY_WESTERN_PREDICTIVE_H__ |
|
65 |
|
66 // End of file |