textinput/peninputgenericitut/inc/peninputitutwesternuistatenonpredict.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 01:02:04 +0200
changeset 0 eb1f2e154e89
child 8 4eb1ae11334f
permissions -rw-r--r--
Revision: 201003 Kit: 201005

/*
* 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:
    CFepLayoutMultiLineIcf* iIcf;
    TBool iConsumeLastKeyDown;
    };

#endif //C_WESTERNITUTUISTATENONPREDICT_H