fep/aknfep/inc/AknFepUIInputStateInitialIndicMultitap.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0""
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:            Provides the TAknFepInputStateInitialIndicMultitap definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 #ifndef __AKN_FEP_UI_INPUT_STATE_INIT_INDIC_MULTITAP_H__
       
    29 #define __AKN_FEP_UI_INPUT_STATE_INIT_INDIC_MULTITAP_H__
       
    30 
       
    31 #include "AknFepUiInputStateInitialMultitapBase.h"
       
    32 #include "AknFepUiIndicEnums.h"
       
    33 /**
       
    34 *  This class  handles the multitap input for Indic languages.
       
    35 *  @lib avkonfep.dll
       
    36 *  @since Series 60 3.1
       
    37 */
       
    38 class TAknFepInputStateInitialIndicMultitap : public TAknFepInputStateInitialMultitapBase
       
    39     {
       
    40 public:
       
    41     /**
       
    42     * 
       
    43     * Constructor for TAknFepInputStateInitialIndicMultitap.	
       
    44     * @since 3.1M
       
    45     * @return 
       
    46     */
       
    47     TAknFepInputStateInitialIndicMultitap(MAknFepUIManagerStateInterface* aOwner, 
       
    48                                           TLanguage aLanguage); 
       
    49 public: //from TAknFepInputStateBase    
       
    50     /**
       
    51     * 
       
    52     * Returns the virama character depending on the input language.	
       
    53     * @since 3.1M
       
    54     * @return Etrue if the Key is handled. 
       
    55     */
       
    56 
       
    57     TBool HandleKeyL(TInt aKey, TKeyPressLength aLength);
       
    58     
       
    59 public: //from MptiObserver
       
    60     /**
       
    61     * 
       
    62     * Gets called when PTI Engine's timer expires.	
       
    63     * @since 3.1M
       
    64     * @return 
       
    65     */
       
    66 
       
    67 	void KeyTimerExpired();
       
    68 
       
    69     /**
       
    70 	 * This function handles Indic key response codes
       
    71 	 *
       
    72 	 * @since 3.2
       
    73 	 * @param TInt The key code.
       
    74 	 * @param TIndicInputResponse the key response.
       
    75 	 * @param TPtrC Text obtained from PtiEngine
       
    76 	 * @return TBool
       
    77 	 */
       
    78     TBool HandleIndicKeyResponseL( TInt aKey, TIndicInputResponse aKeyResponse, TPtrC aPtiText );
       
    79 
       
    80     /**
       
    81 	 * This function checks if space is left in a limited space editor.
       
    82 	 *
       
    83 	 * @since 3.2
       
    84      * @param TIndicInputResponse the key response.
       
    85 	 * @return TBool
       
    86 	 */
       
    87     TBool IsFreeSpaceAvailable( TIndicInputResponse aKeyResponse );
       
    88 
       
    89 #ifdef RD_MARATHI
       
    90     /**
       
    91 	 * This function handles Marathi specific code.
       
    92 	 *
       
    93 	 * @since 5.0
       
    94 	 * @return void
       
    95 	 */
       
    96     void HandleKeyMarathiL();
       
    97 #endif // RD_MARATHI	
       
    98 	};
       
    99 
       
   100 
       
   101 #endif //__AKN_FEP_UI_INPUT_STATE_INIT_INDIC_MULTITAP_H__
       
   102 
       
   103 // End of File