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 ) |
57 { |
59 { |
58 iUIContainer = aUIContainer; |
60 iUIContainer = aUIContainer; |
59 |
61 |
60 /* UI is not activated at this point yet. |
62 /* UI is not activated at this point yet. |
61 if (aOwner) |
63 if (aOwner) |
81 // --------------------------------------------------------------------------- |
83 // --------------------------------------------------------------------------- |
82 // |
84 // |
83 void TAknFepInputStateChineseBase::operator=(const TAknFepInputStateChineseBase& aState) |
85 void TAknFepInputStateChineseBase::operator=(const TAknFepInputStateChineseBase& aState) |
84 { |
86 { |
85 Mem::Copy(this, &aState, sizeof(TAknFepInputStateChineseBase)); |
87 Mem::Copy(this, &aState, sizeof(TAknFepInputStateChineseBase)); |
|
88 if( UIContainer()) |
|
89 { |
|
90 UIContainer()->SetFepUiStateCtrl( this ); |
|
91 } |
86 } |
92 } |
87 |
93 |
88 // --------------------------------------------------------------------------- |
94 // --------------------------------------------------------------------------- |
89 // TAknFepInputStateChineseBase::UIContainer() |
95 // TAknFepInputStateChineseBase::UIContainer() |
90 // Getting UI container object |
96 // Getting UI container object |
117 break; |
123 break; |
118 default: |
124 default: |
119 break; |
125 break; |
120 } |
126 } |
121 } |
127 } |
|
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 |
122 // End of file |
153 // End of file |