|
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 * Provides the TAknFepInputStateEntryWesternPredictive definition. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 #ifndef __AKN_FEP_UI_INPUT_STATE_ENTRY_WESTERN_PREDICTIVE_H__ |
|
31 #define __AKN_FEP_UI_INPUT_STATE_ENTRY_WESTERN_PREDICTIVE_H__ |
|
32 |
|
33 #include "AknFepUiInputStateBase.h" |
|
34 |
|
35 class TAknFepInputStateEntryWesternPredictive : public TAknFepInputStateBase |
|
36 { |
|
37 public: |
|
38 TAknFepInputStateEntryWesternPredictive(MAknFepUIManagerStateInterface* aOwner); |
|
39 TBool HandleKeyL(TInt aKey, TKeyPressLength aLength); |
|
40 void HandleCommandL(TInt aCommandId); |
|
41 |
|
42 public: // Functions from MPtiObserver interface |
|
43 void LastWordInSelectionList(); |
|
44 void FirstWordInSelectionList(); |
|
45 void DoPreviousMatchL(); |
|
46 void DoNextMatch(); |
|
47 protected: |
|
48 TBool HandleStandardNumericKeysL(TInt aKey, TKeyPressLength aLength); |
|
49 TBool HandleNaviKeysL(TInt aKey, TKeyPressLength aLength); |
|
50 virtual TBool HandleStarKeyL(TKeyPressLength aLength); |
|
51 |
|
52 private: |
|
53 void ConvertDigitToDigittype(TDigitType& digittype,TDes& aConvertedNumeral); |
|
54 TBool IsMoreCandidate(); |
|
55 }; |
|
56 |
|
57 #endif //__AKN_FEP_UI_INPUT_STATE_ENTRY_WESTERN_PREDICTIVE_H__ |
|
58 |
|
59 // End of file |