fep/aknfep/src/AknFepUiInputStateEntryIndicPredictive.cpp
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 11 May 2010 16:31:42 +0300
branchRCL_3
changeset 11 c8fb4cf7b3ae
parent 0 eb1f2e154e89
child 12 5e18d8c489d6
permissions -rw-r--r--
Revision: 201017 Kit: 201019

/*
* 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 <AknFep.rsg>
#include <PtiEngine.h>
#include <PtiDefs.h>

// -----------------------------------------------------------------------------
// 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