// EIKFONT.H
//
// Copyright (c) 1997-1999 Symbian Ltd.  All rights reserved.
//

#if !defined(__EIKFONT_H__)
#define __EIKFONT_H__

#if !defined(__W32STD_H__)
#include <w32std.h>
#endif

class CEikCleanupStackableFont : public CBase
	{
private:
	CEikCleanupStackableFont(CWsScreenDevice& aScreenDevice);
public:
	IMPORT_C static CEikCleanupStackableFont* NewL(TResourceReader& aResourceReader, CWsScreenDevice& aScreenDevice);
	IMPORT_C static CEikCleanupStackableFont* NewLC(TResourceReader& aResourceReader, CWsScreenDevice& aScreenDevice);
	IMPORT_C virtual ~CEikCleanupStackableFont();
	IMPORT_C CFbsFont& Font() const;
	IMPORT_C CFbsFont* TakeOwnershipOfFont();
private:
	CWsScreenDevice& iScreenDevice;
	CFbsFont* iFont;
	};

//

#endif

