fep/aknfep/inc/AknFepUiInputStateEntryQwertyCangJie.h
author William Roberts <williamr@symbian.org>
Fri, 11 Jun 2010 16:25:13 +0100
branchGCC_SURGE
changeset 21 3f9a9ca46190
parent 0 eb1f2e154e89
permissions -rw-r--r--
Branch for GCC_SURGE fixes

/*
* 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