fep/aknfep/inc/AknFepUiInputStateInitialChineseGenericHalfQwerty.h
changeset 36 a7632c26d895
parent 35 0f326f2e628e
child 42 b3eaa440ab06
equal deleted inserted replaced
35:0f326f2e628e 36:a7632c26d895
     1 /*
       
     2 * Copyright (c) 2005 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:           
       
    15  *       Provides the TAknFepInputStateInitialChineseGenericHalfQwerty definition.
       
    16  *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 #ifndef AKNFEPUIINPUTSTATEINITIALCHINESEGENERICHALFQWERTY_H_
       
    30 #define AKNFEPUIINPUTSTATEINITIALCHINESEGENERICHALFQWERTY_H_
       
    31 #include "AknFepUiInputStateHalfQwerty.h"
       
    32 
       
    33 class TAknFepInputStateInitialChineseGenericHalfQwerty :
       
    34 public TAknFepInputStateHalfQwerty
       
    35     {
       
    36 public:
       
    37     /**
       
    38      * C++ default constructor
       
    39      *
       
    40      * @since S60 v3.2.3
       
    41      * @param aOwner Pointer to UI manager state interface
       
    42      * @param aUIContainer Pointer to Chinese UI container
       
    43      */
       
    44     TAknFepInputStateInitialChineseGenericHalfQwerty(
       
    45         MAknFepUIManagerStateInterface* aOwner, TInt aMode );
       
    46     /**
       
    47      * Handle system key press event
       
    48      *
       
    49      * @since S60 v3.2.3
       
    50      * @param aKey System key
       
    51      * @param aLength Key press length
       
    52      * @return ETrue if handle, otherwise this class do not handle this key
       
    53      */
       
    54     TBool HandleKeyL( TInt aKey, TKeyPressLength aLength );
       
    55 
       
    56 private:
       
    57     /**
       
    58      * to check whether the key stroke is the sct key or not 
       
    59      *
       
    60      * @since S60 v3.2.3
       
    61      * @param aKey System key
       
    62      * @return ETrue if it is the sct key , otherwise not
       
    63      */
       
    64     TBool IsSCTKey( TInt aKey );
       
    65     /**
       
    66      * to check whether the key stroke is a character key or not 
       
    67      *
       
    68      * @since S60 v3.2.3
       
    69      * @param aKey System key
       
    70      * @return ETrue if it is a character key , otherwise not
       
    71      */
       
    72     TBool IsCharacter( TInt aKey );
       
    73     /**
       
    74      * Handle the shift key envent 
       
    75      *
       
    76      * @since S60 v3.2.3
       
    77      * @param aKey System key
       
    78      * @param aLength Key press length
       
    79      * @return ETrue if handle, otherwise this class do not handle this key
       
    80      */
       
    81     TBool HandleKeyByShiftOrCharPressedL( TInt aKey, TKeyPressLength aLength );
       
    82     /**
       
    83      * to check whether the key stroke is a emotion key  or not 
       
    84      *
       
    85      * @since S60 v3.2.3
       
    86      * @param aKey System key
       
    87      * @return ETrue if it is a emotion key , otherwise not
       
    88      */
       
    89     TBool HandleEmotionKeyL( TInt aKey, TKeyPressLength aLength );
       
    90     /**
       
    91      * to check whether the key is a Multitap key or not 
       
    92      *
       
    93      * @since S60 v3.2.3
       
    94      * @param aKey System key
       
    95      * @return ETrue if it is a Multitap key , otherwise not
       
    96      */
       
    97     TBool IsMultitapkey( TInt aKey );
       
    98     };
       
    99 #endif /*AKNFEPUIINPUTSTATEINITIALCHINESEGENERICHALFQWERTY_H_*/
       
   100 
       
   101 //end of the file