diff -r 000000000000 -r eb1f2e154e89 fep/aknfep/src/AknFepUiInputStateEntryIndicPredictive.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fep/aknfep/src/AknFepUiInputStateEntryIndicPredictive.cpp Tue Feb 02 01:02:04 2010 +0200 @@ -0,0 +1,63 @@ +/* +* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0"" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: Provides the TAknFepInputStateEntryIndicPredictive Method. +* +*/ + + + + + + + + + + + + +#include "AknFepUiInputStateEntryIndicPredictive.h" +#include "AknFepUIManagerStateInterface.h" //MAknFepUIManagerStateInterface +#include "AknFepPanic.h" +#include "AknFepManagerUIInterface.h" +#include +#include +#include + +// ----------------------------------------------------------------------------- +// TAknFepInputStateEntryIndicPredictive::TAknFepInputStateEntryIndicPredictive + +// C++ default constructor can NOT contain any code, that +// might leave. +// ----------------------------------------------------------------------------- + +TAknFepInputStateEntryIndicPredictive:: +TAknFepInputStateEntryIndicPredictive( MAknFepUIManagerStateInterface* aOwner, + TLanguage /*aLanguage*/ ) + :TAknFepInputStateEntryWesternPredictive( aOwner ) + { + } + +void TAknFepInputStateEntryIndicPredictive::LastWordInSelectionList() + { + CPtiEngine* ptiengine = iOwner->PtiEngine(); + MAknFepManagerUIInterface* fepMan = iOwner->FepMan(); + + if (iMatchState != EWordMatchAfterLast) + { + TRAP_IGNORE(fepMan->UpdateCbaL(R_AKNFEP_SOFTKEYS_SPELL_PREVIOUS)); + iMatchState = EWordMatchLast; + } + } + +// End of File