fep/aknfep/inc/aknfepinputstatespellingpinyinphrasecreation.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 27 Apr 2010 16:59:43 +0300
branchRCL_3
changeset 9 e6a39382bb9c
parent 0 eb1f2e154e89
permissions -rw-r--r--
Revision: 201015 Kit: 201017

/*
* Copyright (c) 2004 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:           
*       Provides the aknfepinputstatespellingpinyinphrasecreation definition.
*
*/












#ifndef T_AKNFEPINPUTSTATESPELLINGPINYINPHRASECREATION_H
#define T_AKNFEPINPUTSTATESPELLINGPINYINPHRASECREATION_H

#include "aknfepinputstatepinyinphrasecreationbase.h"

class TAknFepInputStateSpellingPinyinPhraseCreation : public TAknFepInputStatePinyinPhraseCreationBase
    {
public:
    
    /**
     * C++ construct.
     *
     * @since S60 v5.0.
     * @return self object.
     */ 
    TAknFepInputStateSpellingPinyinPhraseCreation(
                                MAknFepUIManagerStateInterface* aOwner,
                                MAknFepUICtrlContainerChinese* aUIContainer);
    
    /**
     * HandleKeyL.
     *
     * @since S60 v5.0.
     * @param aKey the input key.
     * @param TKeyPressLength the key press length.
     * @return ETrue.
     */
    TBool HandleKeyL(TInt aKey, TKeyPressLength aLength);
    
    /**
     * Initialize State.
     *
     * @since S60 v5.0.
     * @return none.
     */
    void InitializeStateL();

private:
    
    /**
     * Implicity Show Info.
     *
     * @since S60 v5.0
     * @return None.
     */    
    void ImplicityShowInfo( TBool aGetScreenCoordinates = EFalse );
    
    /**
     * Refresh Show Info.
     *
     * @since S60 v5.0
     * @return None.
     */    
    void RefreshShowInfo();
    
    /**
     * KeyBackspace Or KeyUpArrow
     *
     * @since S60 v5.0
     * @param TKeyPressLength the key press length.
     * @return None.
     */
    void HandleKeyBackspaceOrKeyUpArrow( TKeyPressLength aLength );
    
    
    /**
     * KeyBackspace And KeyUpArrow
     *
     * @since S60 v5.0
     * @param TKeyPressLength the key press length.
     * @return None.
     */
    void HandleKeyOKOrKeyDownArrowOrKeyCBA1( TKeyPressLength aLength );
  
    /**
     * KeyRightArrow.
     *
     * @since S60 v5.0
     * @return None.
     */  
    void HandleKeyRightArrow();
    
    /**
     * KeyLeftArrow.
     *
     * @since S60 v5.0
     * @return None.
     */ 
    void HandleKeyLeftArrow();
    /**
     * Refresh Valid Keystroke.
     *
     * @since S60 v5.0
     * @return ETrue refresh ok, others EFalse.
     */  
    TBool RefreshValidKeystroke();
    
    /**
     * Refresh Valid Keystroke.
     *
     * @since S60 v5.0
     * @return None.
     */  
    void RefreshValidKeystrokeL();
    
    };

#endif //T_AKNFEPINPUTSTATESPELLINGPINYINPHRASECREATION_H

// End of file