textinput/peninputgenericitut/inc/peninputitutwesternuistatecusotmization.h
branchRCL_3
changeset 44 ecbabf52600f
parent 0 eb1f2e154e89
equal deleted inserted replaced
43:ebd48d2de13c 44:ecbabf52600f
       
     1 /*
       
     2 * Copyright (c) 2009 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 *
       
    16 */
       
    17 
       
    18 #ifndef C_WESTERNITUTUISTATECUSTOMIZATION_H
       
    19 #define C_WESTERNITUTUISTATECUSTOMIZATION_H
       
    20 
       
    21 #include "peninputgenericitutuistatebase.h"
       
    22 
       
    23 class CVirtualKey;
       
    24 class CItutCustomizedRscMgr;
       
    25 
       
    26 class CWesternItutUiStateCustomization : public CGenericItutUiStateBase
       
    27     {
       
    28 public:
       
    29     static CWesternItutUiStateCustomization* NewL(CGenericItutUiMgrBase* aOwner);
       
    30 
       
    31     ~CWesternItutUiStateCustomization();
       
    32 
       
    33     void OnExit();
       
    34 
       
    35     void OnEntryL();
       
    36 
       
    37     TInt HandleCommandL(TInt aCmd, TUint8* aData);
       
    38 
       
    39     CGenericItutUiMgrBase::TUiState StateType();
       
    40 
       
    41 protected:
       
    42     CWesternItutUiStateCustomization(CGenericItutUiMgrBase* aOwner);
       
    43     void ConstructL();
       
    44 
       
    45 private:
       
    46     void DimKey(TInt aKeyIndex);
       
    47 
       
    48     void HideKey(TInt aKeyIndex);
       
    49 
       
    50     CVirtualKey* FindKeyByScanCode(TInt aScanCode);
       
    51 
       
    52     TBool IsKeyIdxValid(TInt aKeyIndex);
       
    53 
       
    54 private:
       
    55     CItutCustomizedRscMgr* iRscMgr;
       
    56     };
       
    57 
       
    58 #endif //C_WESTERNITUTUISTATECUSTOMIZATION_H