/*
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0""
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/

#ifndef C_WESTERNITUTUISTATENONPREDICT_H
#define C_WESTERNITUTUISTATENONPREDICT_H

#include "peninputgenericitutuistatebase.h"

class CFepLayoutMultiLineIcf;

class CWesternItutUiStateNonPredict : public CGenericItutUiStateBase
    {
public:
    static CWesternItutUiStateNonPredict* NewL(CGenericItutUiMgrBase* aOwner);

    ~CWesternItutUiStateNonPredict();

    void OnExit();

    void OnEntryL();

    CGenericItutUiMgrBase::TUiState StateType();

    TInt HandleCommandL(TInt aCmd, TUint8* aData);

    TBool HandleCtrlEventL(TInt aEventType, CFepUiBaseCtrl* aCtrl, const TDesC& aEventData);

protected:
    CWesternItutUiStateNonPredict(CGenericItutUiMgrBase* aOwner);

private:
    void AdjustKoreanLayout();
    void AdjustWesternLayout();
    void AdjustChineseLayout();
private:
    CFepLayoutMultiLineIcf* iIcf;
    TBool iConsumeLastKeyDown;
    };

#endif //C_WESTERNITUTUISTATENONPREDICT_H