// BOSSVIEW.H
//
// Copyright (c) 1998 Symbian Ltd.  All rights reserved.
//

#ifndef __BOSSVIEW_H
#define __BOSSVIEW_H

#include <coecntrl.h>

class TBossPuzzle;

class CBossView : public CCoeControl
	{
public:
	// construct/destruct
	IMPORT_C CBossView(const CCoeControl* aParent, const TRect& aRect, TBossPuzzle* aModel);
	IMPORT_C void ConstructL();
	~CBossView();
protected:
	TBossPuzzle* iModel;
private: // framework
	virtual void Draw(const TRect& /* aRect */) const; // draw model
private:
	IMPORT_C CBossView();
private:
	CFont* iTileFont;
	const CCoeControl* iParent;
	TRect iOfferedRect;
	};

#endif
