// COECCNTX.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__COECCNTX_H__)
#define __COECCNTX_H__

#if !defined(__E32STD_H__)
#include <e32std.h>
#endif

#if !defined(__E32BASE_H__)
#include <e32base.h>
#endif

#if !defined(__W32STD_H__)
#include <w32std.h>
#endif

class MCoeControlContext
	{
public:
	IMPORT_C virtual void ActivateContext(CWindowGc& aGc,RDrawableWindow& aWindow) const;
	IMPORT_C virtual void ResetContext(CWindowGc& aGc) const;
	IMPORT_C virtual void PrepareContext(CWindowGc& aGc) const;
	};

class MCoeControlBrushContext : public MCoeControlContext
	{
protected: // from MCoeControlContext
	IMPORT_C void PrepareContext(CWindowGc& aGc) const;
public:
	CWindowGc::TBrushStyle iBrushStyle;
	TRgb iBrushColor;
	const CFbsBitmap* iBitmap;
	};

#endif
