fep/aknfep/inc/AknFepUiInputStateCandidateBaseChinesePhrase.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c)  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:            ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 #ifndef T_AKNFEPUIINPUTSTATECANDIDATEBASECHINESEPHRASE_H_
       
    30 #define T_AKNFEPUIINPUTSTATECANDIDATEBASECHINESEPHRASE_H_
       
    31 
       
    32 #include "AknFepUiInputStateCandidateBase.h"
       
    33 #include <PtiDefs.h>
       
    34 
       
    35 class TAknFepInputStateCandidateBaseChinesePhrase : public TAknFepInputStateCandidateBase
       
    36     {
       
    37 protected:
       
    38     TAknFepInputStateCandidateBaseChinesePhrase(
       
    39         MAknFepUIManagerStateInterface* aOwner,
       
    40         MAknFepUICtrlContainerChinese* aUIContainer);
       
    41 
       
    42     TBool HandleKeyL(TInt aKey, TKeyPressLength aLength);
       
    43     
       
    44     void HandleCommandL(TInt aCommandId);
       
    45 
       
    46     /**
       
    47      * Handle CBA1 or select event.
       
    48      * 
       
    49      * @since S60 v3.2.3
       
    50      * @return None.
       
    51      */
       
    52     void HandleCommitL();
       
    53     
       
    54     TBool HandleHorizontalNavigation(TInt aKey);
       
    55     TBool HandleVerticalNavigation(TInt aKey);
       
    56     TBool HandleVerticalNavigation(TInt aKey, TKeyPressLength aLength);
       
    57     void UpdateIndicator();
       
    58     //the follow 6 functions for creation
       
    59     void GetValidkeystrokeL();
       
    60     TBool CheckSpellingOfPtiEngine();
       
    61     void GetKeystrokeCode( TInt& aKey, const TDesC& aKeystroke );
       
    62     void ClearPtiEngineKeystroke();
       
    63     void DeleteTonMarkFromInEffectKeytrokeArray();
       
    64     void CheckTonemarkL();
       
    65     TBool IsValid(const TDesC& aDesC, TInt aCount);
       
    66     void GetNewCandidatesL(const TDesC& aSource, RPointerArray<HBufC>& aList);
       
    67     };
       
    68 
       
    69 #endif //T_AKNFEPUIINPUTSTATECANDIDATEBASECHINESEPHRASE_H_
       
    70 
       
    71 // End of file