diff -r 000000000000 -r eb1f2e154e89 fep/aknfep/inc/AknFepUiInputStateCandidateBaseChinesePhrase.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fep/aknfep/inc/AknFepUiInputStateCandidateBaseChinesePhrase.h Tue Feb 02 01:02:04 2010 +0200 @@ -0,0 +1,71 @@ +/* +* 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 + +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& aList); + }; + +#endif //T_AKNFEPUIINPUTSTATECANDIDATEBASECHINESEPHRASE_H_ + +// End of file