|
1 /* |
|
2 * Copyright (c) 2002-2005 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: header file of Pinyin and Stroke phrase candidate state |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 #ifndef T_AKNFEPUIINPUTSTATECANDIDATEMINIQERTYPINYINANDSTROKE_PHRASE_H |
|
30 #define T_AKNFEPUIINPUTSTATECANDIDATEMINIQERTYPINYINANDSTROKE_PHRASE_H |
|
31 |
|
32 // User includes |
|
33 #include "AknFepUiInputStateCandidateQwertyBaseChinesePhrase.h" |
|
34 #include "aknfepuiinputminiqwertypinyinphrasebase.h" |
|
35 |
|
36 /** |
|
37 * TAknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase class. |
|
38 * |
|
39 * Implementation of Pinyin and Stroke phrase candidate state |
|
40 * |
|
41 * @lib avkonfep.dll |
|
42 * @since S60 v3.2 |
|
43 */ |
|
44 class TAknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase : |
|
45 public TAknFepInputMiniQwertyPinyinPhraseBase |
|
46 { |
|
47 public: |
|
48 |
|
49 enum TAknFepStrokePhraseChange |
|
50 { |
|
51 EManualChangeState, |
|
52 EAutoChangeStateFromInput, |
|
53 EAutoChangeStateFromCandidate |
|
54 }; |
|
55 |
|
56 /** |
|
57 * C++ default constructor |
|
58 * |
|
59 * @since S60 V3.2 |
|
60 * @param aOwner Pointer to UI manager state interface |
|
61 * @param aUIContainer Pointer to Chinese UI container |
|
62 */ |
|
63 TAknFepUiInputStateCandidateMiniQwertyPinyinAndStrokePhrase( |
|
64 MAknFepUIManagerStateInterface* aOwner, |
|
65 MAknFepUICtrlContainerChinese* aUIContainer); |
|
66 /** |
|
67 * Handling Command events. |
|
68 * This Method is called by CAknFepUIManagerJapanese. |
|
69 * |
|
70 * @param aCommandId Command ID value |
|
71 */ |
|
72 void HandleCommandL( TInt aCommandId ); |
|
73 |
|
74 protected: |
|
75 |
|
76 /** |
|
77 * From TAknFepInputStateCandidateBasePhrase |
|
78 * Handle system key press |
|
79 * |
|
80 * @since S60 v3.2 |
|
81 * @param aKey System key event |
|
82 * @param aLength Key press length |
|
83 * @return ETrue if handle, otherwise this class do not handle this key |
|
84 */ |
|
85 TBool HandleKeyL(TInt aKey, TKeyPressLength aLength); |
|
86 }; |
|
87 |
|
88 #endif //T_AKNFEPUIINPUTSTATECANDIDATEPINYINANDSTROKE_PHRASE_H |
|
89 |
|
90 // End of file |