|
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 TAknFepInputStateEntryZhuyinStrokeBasePhrase definition. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 #ifndef __AKN_FEP_UI_INPUT_STATE_ZHUYIN_STROKE_BASE_PHRASE_H__ |
|
31 #define __AKN_FEP_UI_INPUT_STATE_ZHUYIN_STROKE_BASE_PHRASE_H__ |
|
32 |
|
33 #include "AknFepUiInputStateChineseBase.h" |
|
34 |
|
35 /** |
|
36 * Zhuyin and Stroke share a base class as there is commonality |
|
37 * over most of their functionality |
|
38 */ |
|
39 class TAknFepInputStateEntryZhuyinStrokeBasePhrase : public TAknFepInputStateChineseBase |
|
40 { |
|
41 public: |
|
42 enum |
|
43 { |
|
44 EPhoneticChanged = 0x0001 |
|
45 }; |
|
46 |
|
47 TAknFepInputStateEntryZhuyinStrokeBasePhrase( |
|
48 MAknFepUIManagerStateInterface* aOwner, |
|
49 MAknFepUICtrlContainerChinese* aUIContainer); |
|
50 |
|
51 virtual TBool HandleKeyL(TInt aKey, TKeyPressLength aLength); |
|
52 void InitializeStateL(); |
|
53 |
|
54 void HandleCommandL(TInt aCommandId); |
|
55 |
|
56 public: // Functions from MPtiObserver interface |
|
57 virtual void KeyTimerExpired(); |
|
58 |
|
59 protected: |
|
60 void RefreshUI(); |
|
61 void SetInputPaneToneMark(); |
|
62 void UpdateIndicator(); |
|
63 }; |
|
64 |
|
65 |
|
66 #endif //__AKN_FEP_UI_INPUT_STATE_ZHUYIN_STROKE_BASE_PHRASE_H__ |
|
67 |
|
68 // End of file |