fep/aknfep/inc/AknFepUiInputStateCandidateBaseChinesePhrase.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Mon, 15 Mar 2010 12:42:02 +0200
branchRCL_3
changeset 8 6ceef9a83b1a
parent 0 eb1f2e154e89
permissions -rw-r--r--
Revision: 201009 Kit: 201010

/*
* Copyright (c)  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:            ?Description
*
*/












#ifndef T_AKNFEPUIINPUTSTATECANDIDATEBASECHINESEPHRASE_H_
#define T_AKNFEPUIINPUTSTATECANDIDATEBASECHINESEPHRASE_H_

#include "AknFepUiInputStateCandidateBase.h"
#include <PtiDefs.h>

class TAknFepInputStateCandidateBaseChinesePhrase : public TAknFepInputStateCandidateBase
    {
protected:
    TAknFepInputStateCandidateBaseChinesePhrase(
        MAknFepUIManagerStateInterface* aOwner,
        MAknFepUICtrlContainerChinese* aUIContainer);

    TBool HandleKeyL(TInt aKey, TKeyPressLength aLength);
    
    void HandleCommandL(TInt aCommandId);

    /**
     * Handle CBA1 or select event.
     * 
     * @since S60 v3.2.3
     * @return None.
     */
    void HandleCommitL();
    
    TBool HandleHorizontalNavigation(TInt aKey);
    TBool HandleVerticalNavigation(TInt aKey);
    TBool HandleVerticalNavigation(TInt aKey, TKeyPressLength aLength);
    void UpdateIndicator();
    //the follow 6 functions for creation
    void GetValidkeystrokeL();
    TBool CheckSpellingOfPtiEngine();
    void GetKeystrokeCode( TInt& aKey, const TDesC& aKeystroke );
    void ClearPtiEngineKeystroke();
    void DeleteTonMarkFromInEffectKeytrokeArray();
    void CheckTonemarkL();
    TBool IsValid(const TDesC& aDesC, TInt aCount);
    void GetNewCandidatesL(const TDesC& aSource, RPointerArray<HBufC>& aList);
    };

#endif //T_AKNFEPUIINPUTSTATECANDIDATEBASECHINESEPHRASE_H_

// End of file