first commit
This commit is contained in:
26
include/framework/font/font_factory.h
Normal file
26
include/framework/font/font_factory.h
Normal file
@ -0,0 +1,26 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef __FONTFACTORY__
|
||||
#define __FONTFACTORY__
|
||||
|
||||
|
||||
namespace GS {
|
||||
struct IFont;
|
||||
|
||||
/// Font factory.
|
||||
struct IFontFactory
|
||||
{
|
||||
/// Load a font.
|
||||
virtual IFont *LoadFont(const char *) = 0;
|
||||
|
||||
virtual ~IFontFactory() {}
|
||||
};
|
||||
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __FONTFACTORY__
|
||||
Reference in New Issue
Block a user