equal
deleted
inserted
replaced
51 // --------------------------------------------------------------------------- |
51 // --------------------------------------------------------------------------- |
52 // |
52 // |
53 TAknFepInputStateChineseBase:: |
53 TAknFepInputStateChineseBase:: |
54 TAknFepInputStateChineseBase(MAknFepUIManagerStateInterface* aOwner, |
54 TAknFepInputStateChineseBase(MAknFepUIManagerStateInterface* aOwner, |
55 MAknFepUICtrlContainerChinese* aUIContainer) |
55 MAknFepUICtrlContainerChinese* aUIContainer) |
56 :TAknFepInputStateBase(aOwner), |
56 :TAknFepInputStateBase(aOwner) |
57 iPlugin( NULL, NULL, ENull ), |
|
58 iStrokePlugin( NULL, NULL, ENull ) |
|
59 { |
57 { |
60 iUIContainer = aUIContainer; |
58 iUIContainer = aUIContainer; |
61 |
59 |
62 /* UI is not activated at this point yet. |
60 /* UI is not activated at this point yet. |
63 if (aOwner) |
61 if (aOwner) |
83 // --------------------------------------------------------------------------- |
81 // --------------------------------------------------------------------------- |
84 // |
82 // |
85 void TAknFepInputStateChineseBase::operator=(const TAknFepInputStateChineseBase& aState) |
83 void TAknFepInputStateChineseBase::operator=(const TAknFepInputStateChineseBase& aState) |
86 { |
84 { |
87 Mem::Copy(this, &aState, sizeof(TAknFepInputStateChineseBase)); |
85 Mem::Copy(this, &aState, sizeof(TAknFepInputStateChineseBase)); |
88 if( UIContainer()) |
|
89 { |
|
90 UIContainer()->SetFepUiStateCtrl( this ); |
|
91 } |
|
92 } |
86 } |
93 |
87 |
94 // --------------------------------------------------------------------------- |
88 // --------------------------------------------------------------------------- |
95 // TAknFepInputStateChineseBase::UIContainer() |
89 // TAknFepInputStateChineseBase::UIContainer() |
96 // Getting UI container object |
90 // Getting UI container object |
123 break; |
117 break; |
124 default: |
118 default: |
125 break; |
119 break; |
126 } |
120 } |
127 } |
121 } |
128 |
|
129 // --------------------------------------------------------------------------- |
|
130 // TAknFepInputStateChineseBase::SetPlugin |
|
131 // Set plugin to state machine |
|
132 // --------------------------------------------------------------------------- |
|
133 // |
|
134 void TAknFepInputStateChineseBase::SetPlugin( |
|
135 TAknFepInputMiniQwertySogouPinyinPhrasePlugin aPlugin ) |
|
136 { |
|
137 iPlugin = aPlugin; |
|
138 iPlugin.Enable( ETrue ); |
|
139 } |
|
140 |
|
141 // --------------------------------------------------------------------------- |
|
142 // TAknFepInputStateChineseBase::SetStrokePlugin |
|
143 // Set plugin to state machine |
|
144 // --------------------------------------------------------------------------- |
|
145 // |
|
146 void TAknFepInputStateChineseBase::SetStrokePlugin( |
|
147 TAknFepInputMiniQwertySogouStrokePhrasePlugin aPlugin ) |
|
148 { |
|
149 iStrokePlugin = aPlugin; |
|
150 iStrokePlugin.Enable( ETrue ); |
|
151 } |
|
152 |
|
153 // End of file |
122 // End of file |