fep/aknfep/inc/AknFepUiInputStateCandidateBaseChinesePhrase.h
branchRCL_3
changeset 44 ecbabf52600f
parent 0 eb1f2e154e89
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fep/aknfep/inc/AknFepUiInputStateCandidateBaseChinesePhrase.h	Wed Sep 01 12:23:33 2010 +0100
@@ -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 <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