fep/aknfep/src/AknFepUiInputStateEntryIndicPredictive.cpp
changeset 0 eb1f2e154e89
child 12 5e18d8c489d6
equal deleted inserted replaced
-1:000000000000 0:eb1f2e154e89
       
     1 /*
       
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:            Provides the TAknFepInputStateEntryIndicPredictive Method.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 #include "AknFepUiInputStateEntryIndicPredictive.h"
       
    30 #include "AknFepUIManagerStateInterface.h"      //MAknFepUIManagerStateInterface
       
    31 #include "AknFepPanic.h"
       
    32 #include "AknFepManagerUIInterface.h"
       
    33 #include <AknFep.rsg>
       
    34 #include <PtiEngine.h>
       
    35 #include <PtiDefs.h>
       
    36 
       
    37 // -----------------------------------------------------------------------------
       
    38 // TAknFepInputStateEntryIndicPredictive::TAknFepInputStateEntryIndicPredictive
       
    39 
       
    40 // C++ default constructor can NOT contain any code, that
       
    41 // might leave.
       
    42 // -----------------------------------------------------------------------------
       
    43 
       
    44 TAknFepInputStateEntryIndicPredictive::
       
    45 TAknFepInputStateEntryIndicPredictive( MAknFepUIManagerStateInterface* aOwner, 
       
    46                                        TLanguage /*aLanguage*/ )
       
    47     :TAknFepInputStateEntryWesternPredictive( aOwner )
       
    48     {
       
    49   	}
       
    50 
       
    51 void TAknFepInputStateEntryIndicPredictive::LastWordInSelectionList()
       
    52     {
       
    53     CPtiEngine* ptiengine = iOwner->PtiEngine();
       
    54     MAknFepManagerUIInterface* fepMan = iOwner->FepMan();
       
    55 
       
    56     if (iMatchState != EWordMatchAfterLast)
       
    57         {
       
    58         TRAP_IGNORE(fepMan->UpdateCbaL(R_AKNFEP_SOFTKEYS_SPELL_PREVIOUS));
       
    59         iMatchState = EWordMatchLast;
       
    60         }
       
    61     }
       
    62 
       
    63 // End of File