// EIKCHRED.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined (__EIKCHRED_H__)
#define __EIKCHRED_H__

#if !defined (__COECNTRL_H__)
#include <coecntrl.h>
#endif

class CEikCharEditor : public CCoeControl
	{
public: // class specific
	IMPORT_C CEikCharEditor();
	IMPORT_C ~CEikCharEditor();
	IMPORT_C void SetChar(TChar aChar);
	IMPORT_C TChar GetChar() const;
public: // from CCoeControl
	IMPORT_C TKeyResponse OfferKeyEventL(const TKeyEvent& aKeyEvent,TEventCode aType);
	IMPORT_C TSize MinimumSize();
protected: // from CCoeControl
	IMPORT_C void Draw(const TRect& aRect) const;
	IMPORT_C void FocusChanged(TDrawNow aDrawNow);
private: // from CCoeControl
	IMPORT_C void Reserved_1();
	IMPORT_C void Reserved_2();	
private:
	enum {EHotKeyInsertChar=5};
	TChar iChar;
	};

#endif
