|
1 /* |
|
2 * Copyright (c) 2009 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 * |
|
16 */ |
|
17 |
|
18 #ifndef C_WESTERNSPLITITUTUISTATENONPREDICT_H |
|
19 #define C_WESTERNSPLITITUTUISTATENONPREDICT_H |
|
20 |
|
21 #include "peninputsplititutuistatebase.h" |
|
22 |
|
23 class CFepLayoutMultiLineIcf; |
|
24 |
|
25 |
|
26 /** |
|
27 * class CWesternSplitItutUiStateNonPredict. |
|
28 * |
|
29 * western split itut non-predict state class. |
|
30 * |
|
31 * @lib peninputsplititut.lib |
|
32 * @since S60 v5.0 |
|
33 */ |
|
34 class CWesternSplitItutUiStateNonPredict : public CSplitItutUiStateBase |
|
35 { |
|
36 public: |
|
37 /** |
|
38 * Symbian constructor. |
|
39 * |
|
40 * @since S60 5.0 |
|
41 * |
|
42 * @param aOwner The MLayoutOwner |
|
43 * @return Pointer to created CWesternSplitItutUiStateNonPredict object |
|
44 */ |
|
45 static CWesternSplitItutUiStateNonPredict* NewL(CSplitItutUiMgrBase* aOwner); |
|
46 |
|
47 /** |
|
48 * standard c++ destructor. |
|
49 * |
|
50 * @since S60 5.0 |
|
51 * @return none |
|
52 */ |
|
53 ~CWesternSplitItutUiStateNonPredict(); |
|
54 |
|
55 /** |
|
56 * From CSplitItutUiStateBase. |
|
57 * exit current stat |
|
58 * |
|
59 * @since Series 60 5.0 |
|
60 * @return None |
|
61 */ |
|
62 void OnExit(); |
|
63 |
|
64 /** |
|
65 * From CSplitItutUiStateBase. |
|
66 * entry new stat |
|
67 * |
|
68 * @since Series 60 5.0 |
|
69 * @return None |
|
70 */ |
|
71 void OnEntryL(); |
|
72 |
|
73 /** |
|
74 * From CSplitItutUiStateBase. |
|
75 * get state type |
|
76 * |
|
77 * @since Series 60 5.0 |
|
78 * @return state type |
|
79 */ |
|
80 CSplitItutUiMgrBase::TUiState StateType(); |
|
81 |
|
82 /** |
|
83 * From CSplitItutUiStateBase. |
|
84 * handle command |
|
85 * |
|
86 * @since Series 60 5.0 |
|
87 * @return Tint |
|
88 */ |
|
89 TInt HandleCommandL(TInt aCmd, TUint8* aData); |
|
90 |
|
91 /** |
|
92 * From CSplitItutUiStateBase. |
|
93 * handle control event |
|
94 * |
|
95 * @since Series 60 5.0 |
|
96 * @return TBool |
|
97 */ |
|
98 TBool HandleCtrlEventL( TInt aEventType, |
|
99 CFepUiBaseCtrl* aCtrl, |
|
100 const TDesC& aEventData); |
|
101 |
|
102 protected: |
|
103 /** |
|
104 * C++ constructor |
|
105 * |
|
106 * @since S60 5.0 |
|
107 * @param aOwner The MLayoutOwner pointer. |
|
108 * @return none |
|
109 */ |
|
110 CWesternSplitItutUiStateNonPredict(CSplitItutUiMgrBase* aOwner); |
|
111 |
|
112 private: |
|
113 /** |
|
114 * is consume last keydown. |
|
115 */ |
|
116 TBool iConsumeLastKeyDown; |
|
117 }; |
|
118 |
|
119 #endif //C_WESTERNSPLITITUTUISTATENONPREDICT_H |