// EIKBCTRL.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__EIKBCTRL_H__)
#define __EIKBCTRL_H__

#if!defined(__EIKBORDR_H__)
#include <eikbordr.h>
#endif

#if !defined(__COECNTRL_H__)
#include <coecntrl.h>
#endif

class CEikBorderedControl : public CCoeControl
	{
public:
	IMPORT_C CEikBorderedControl();
	IMPORT_C CEikBorderedControl(const TEikBorder& aBorder);
public: // from CCoeControl
	IMPORT_C TBool HasBorder() const;
	IMPORT_C void SetAdjacent(TInt aAdjacent);
public: // new function
	IMPORT_C void SetBorder(TEikBorder::TBorderType aBorderType);
	IMPORT_C TEikBorder Border() const;
protected: // from CCoeControl
	IMPORT_C void Draw(const TRect& aRect) const;
protected:
	TEikBorder iBorder;
	};

#endif
