|
1 /* |
|
2 * Copyright (c) 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 TAknFepInputStateEntryMiniQwertyZhuyinPhrase definition. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 #ifndef __AKN_FEP_UI_INPUT_STATE_INPUT_MINIQWERTY_ZHUYIN_PHRASE_H__ |
|
31 #define __AKN_FEP_UI_INPUT_STATE_INPUT_MINIQWERTY_ZHUYIN_PHRASE_H__ |
|
32 |
|
33 #include "AknFepUiInputStateEntryQwertyBaseChinesePhrase.h" |
|
34 |
|
35 class TAknFepInputStateEntryMiniQwertyZhuyinPhrase : |
|
36 public TAknFepInputStateEntryQwertyBaseChinesePhrase |
|
37 { |
|
38 public: |
|
39 TAknFepInputStateEntryMiniQwertyZhuyinPhrase(MAknFepUIManagerStateInterface* aOwner, |
|
40 MAknFepUICtrlContainerChinese* aUIContainer); |
|
41 |
|
42 /** |
|
43 * Handling Command events. |
|
44 * This Method is called by CAknFepUIManagerJapanese. |
|
45 * |
|
46 * @param aCommandId Command ID value |
|
47 */ |
|
48 void HandleCommandL( TInt aCommandId ); |
|
49 TBool HandleKeyL(TInt aKey, TKeyPressLength aLength); |
|
50 |
|
51 TBool HandleKeyForMiniQwertyL( TInt aKey, |
|
52 TKeyPressLength aLength ); |
|
53 |
|
54 TBool HandleKeyForHalfAndCustomQwertyL( TInt aKey, |
|
55 TKeyPressLength aLength ); |
|
56 public: // Functions from MPtiObserver interface |
|
57 void KeyTimerExpired(); |
|
58 private: |
|
59 void DeliberatelyUpdateSelection(); |
|
60 void ImplicitlyUpdateSelection(); |
|
61 void ClearDeliberateSelection(); |
|
62 void RefreshUI(TInt aSelection); |
|
63 void InitializeStateL(); |
|
64 void UpdateIndicator(); |
|
65 |
|
66 /** |
|
67 * Check whether tone mark border upon. |
|
68 * |
|
69 * @since S60 v3.2.3 |
|
70 * @param None. |
|
71 * @return ETrue,if the tone mark border upon, EFalse otehrs. |
|
72 */ |
|
73 TBool CheckToneMarkBorderUpon(); |
|
74 |
|
75 void CommitToneMarkL( TInt aKey ); |
|
76 }; |
|
77 |
|
78 #endif __AKN_FEP_UI_INPUT_STATE_INPUT_MINIQWERTY_ZHUYIN_PHRASE_H__ |
|
79 |
|
80 // End of file |