fep/aknfep/inc/aknfepuifingeritutinputstategeneric.h
changeset 40 2cb9bae34d17
parent 31 f1bdd6b078d1
child 49 37f5d84451bd
equal deleted inserted replaced
31:f1bdd6b078d1 40:2cb9bae34d17
     1 /*
       
     2 * Copyright (c) 2002-2007 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 TAknFepUIFingerItutInputStateChineseGeneric definition.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 #ifndef __AKN_FEP_UI_FINGERITUT_INPUT_STATE_INIT_CHIN_GEN_H__
       
    30 #define __AKN_FEP_UI_FINGERITUT_INPUT_STATE_INIT_CHIN_GEN_H__
       
    31 
       
    32 // INCLUDES
       
    33 #include "AknFepUiInputStateBase.h"
       
    34 
       
    35 /**
       
    36  *  TAknFepUIFingerItutInputStateChineseGeneric state machine
       
    37  *
       
    38  *  This class handle the key event, which is not handled by finger ITUT ui.
       
    39  *
       
    40  *  @lib avkonfep.dll
       
    41  *  @since S60 v3.2
       
    42  */
       
    43 class TAknFepUIFingerItutInputStateChineseGeneric : public TAknFepInputStateBase//TAknFepInputStateInitialChineseMultitapBase
       
    44     {
       
    45     
       
    46 public:
       
    47 
       
    48     /**
       
    49      * C++ default constructor
       
    50      *
       
    51      * @since S60 v3.2
       
    52      * @param aOwner Pointer to finger ITUT ui manager
       
    53      * @param aUIContainer Pointer to ui container
       
    54      * @return None
       
    55      */  
       
    56     TAknFepUIFingerItutInputStateChineseGeneric(
       
    57         MAknFepUIManagerStateInterface* aOwner/*,
       
    58         MAknFepUICtrlContainerChinese* aUIContainer*/);
       
    59         
       
    60     /**
       
    61      * Handle key event  
       
    62      *
       
    63      * @since S60 v3.2
       
    64      * @param aKey Event key
       
    65      * @param aLength The length of key press
       
    66      * @return ETrue for handling by state machine; otherwise EFalse
       
    67      */ 
       
    68     TBool HandleKeyL(TInt aKey, TKeyPressLength aLength);
       
    69     
       
    70     /**
       
    71      * Key timer expired called by ptiengine  
       
    72      *
       
    73      * @since S60 v3.2
       
    74      * @return none
       
    75      */ 
       
    76     void KeyTimerExpired();
       
    77     
       
    78 private:
       
    79 
       
    80     /**
       
    81      * Set Previous ptiengine observer  
       
    82      *
       
    83      * @since S60 v3.2
       
    84      * @param aPreObserver Pointer to previous observer
       
    85      * @return none
       
    86      */ 
       
    87     void SetPreObserver(MPtiObserver* aPreObserver);
       
    88     
       
    89     /**
       
    90      * Get Previous ptiengine observer  
       
    91      *
       
    92      * @since S60 v3.2
       
    93      * @return Pointer to previous observer
       
    94      */ 
       
    95     MPtiObserver* PreObserver();
       
    96 
       
    97 private:
       
    98     
       
    99     /**
       
   100      * Previous observer
       
   101      */
       
   102     MPtiObserver* iPreObserver;    
       
   103 
       
   104     };
       
   105 
       
   106 #endif //__AKN_FEP_UI_FINGERITUT_INPUT_STATE_INIT_CHIN_GEN_H__
       
   107 
       
   108 // End of file