diff -r bd83ceabce89 -r 5a1685599b76 fep/aknfep/src/AknFepUiInputStateChineseBase.cpp --- a/fep/aknfep/src/AknFepUiInputStateChineseBase.cpp Tue Sep 14 21:59:06 2010 +0300 +++ b/fep/aknfep/src/AknFepUiInputStateChineseBase.cpp Wed Sep 15 12:34:44 2010 +0300 @@ -53,7 +53,9 @@ TAknFepInputStateChineseBase:: TAknFepInputStateChineseBase(MAknFepUIManagerStateInterface* aOwner, MAknFepUICtrlContainerChinese* aUIContainer) - :TAknFepInputStateBase(aOwner) + :TAknFepInputStateBase(aOwner), + iPlugin( NULL, NULL, ENull ), + iStrokePlugin( NULL, NULL, ENull ) { iUIContainer = aUIContainer; @@ -83,6 +85,10 @@ void TAknFepInputStateChineseBase::operator=(const TAknFepInputStateChineseBase& aState) { Mem::Copy(this, &aState, sizeof(TAknFepInputStateChineseBase)); + if( UIContainer()) + { + UIContainer()->SetFepUiStateCtrl( this ); + } } // --------------------------------------------------------------------------- @@ -119,4 +125,29 @@ break; } } + +// --------------------------------------------------------------------------- +// TAknFepInputStateChineseBase::SetPlugin +// Set plugin to state machine +// --------------------------------------------------------------------------- +// +void TAknFepInputStateChineseBase::SetPlugin( + TAknFepInputMiniQwertySogouPinyinPhrasePlugin aPlugin ) + { + iPlugin = aPlugin; + iPlugin.Enable( ETrue ); + } + +// --------------------------------------------------------------------------- +// TAknFepInputStateChineseBase::SetStrokePlugin +// Set plugin to state machine +// --------------------------------------------------------------------------- +// +void TAknFepInputStateChineseBase::SetStrokePlugin( + TAknFepInputMiniQwertySogouStrokePhrasePlugin aPlugin ) + { + iStrokePlugin = aPlugin; + iStrokePlugin.Enable( ETrue ); + } + // End of file