fep/aknfep/inc/AknFepUiInputStateCandidateBaseChinesePhrase.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 14 Sep 2010 21:59:06 +0300
branchRCL_3
changeset 46 bd83ceabce89
parent 0 eb1f2e154e89
permissions -rw-r--r--
Revision: 201033 Kit: 201035

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