/*
* Copyright (c) 2005 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:
* Provides the TAknFepInputStateEntryQwertyCangJie definition.
*
*/
#ifndef __AKN_FEP_UI_INPUT_STATE_ENTRY_QWERTY_CANGJIE_H__
#define __AKN_FEP_UI_INPUT_STATE_ENTRY_QWERTY_CANGJIE_H__
#include "AknFepUiInputStateEntryQwertyBase.h"
#include "AknFepUIManagerStateInterface.h"
#include <PtiDefs.h>
class TAknFepInputStateEntryQwertyCangJie : public TAknFepInputStateEntryQwertyBase
{
public:
TAknFepInputStateEntryQwertyCangJie(MAknFepUIManagerStateInterface* aOwner,
MAknFepUICtrlContainerChinese* aUIContainer);
TBool HandleKeyL(TInt aKey, TKeyPressLength aLength);
private:
inline TBool IsValidCangJieCode(TInt aKey) const;
};
inline TBool TAknFepInputStateEntryQwertyCangJie::IsValidCangJieCode(TInt aKey) const
{
return ((aKey >= EPtiKeyQwertyA) && (aKey <= EPtiKeyQwertyZ));
}
#endif //__AKN_FEP_UI_INPUT_STATE_ENTRY_QWERTY_CANGJIE_H__
// End of file