fep/aknfep/inc/AknFepUiInputStateHalfQwerty.h
changeset 36 a7632c26d895
parent 35 0f326f2e628e
child 42 b3eaa440ab06
equal deleted inserted replaced
35:0f326f2e628e 36:a7632c26d895
     1 /*
       
     2 * Copyright (c) 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:           
       
    15 *       Provides the TAknFepInputStateHalfQwerty definition.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 
       
    27 
       
    28 
       
    29 
       
    30 #ifndef __AKN_FEP_UI_INPUT_STATE_HALF_QWERTY_H__
       
    31 #define __AKN_FEP_UI_INPUT_STATE_HALF_QWERTY_H__
       
    32 
       
    33 #include <w32std.h>
       
    34 #include "AknFepUiInputStateBase.h"
       
    35 
       
    36 class TAknFepInputStateHalfQwerty : public TAknFepInputStateBase
       
    37     {
       
    38 public:
       
    39     TAknFepInputStateHalfQwerty(MAknFepUIManagerStateInterface* aOwner); 
       
    40 
       
    41     TBool HandleKeyL(TInt aKey, TKeyPressLength aLength);
       
    42     
       
    43     void HandleCaseChange(TInt aKey, TBool aIsCharacter);
       
    44     TBool IsCharacterKey(const TInt aKey);
       
    45 
       
    46   
       
    47 public: // Functions from MPtiObserver interface
       
    48     void KeyTimerExpired();
       
    49     
       
    50 protected:
       
    51     TBool TryGetValidCharForKey(const TInt& aKey, TChar& aChar);
       
    52     TBool TryGetValidCharForKeyAndCase(const TInt& aKey, TChar& aChar, TPtiTextCase aCase);
       
    53     static TInt TimerExpire(TAny* aPtr);
       
    54     TInt ChrKeyTimerExpired();
       
    55     TBool IsKeymapped(TInt aKey);
       
    56     TBool CheckHasValidNumerKeyMappedL(TInt aKey, TBool &aLangChanged);	
       
    57     };
       
    58 
       
    59 #endif //__AKN_FEP_UI_INPUT_STATE_HALF_QWERTY_H__
       
    60 
       
    61 // End of file