mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
This commit contains only the result of `git add --renormalize .` `git show --ignore-space-change` can verify that this commit only changes whitespace.
20 lines
474 B
C++
20 lines
474 B
C++
#pragma once
|
|
|
|
#include "EGpFontHandlerType.h"
|
|
|
|
struct IGpFontHandler;
|
|
|
|
struct GpFontHandlerProperties;
|
|
|
|
class GpFontHandlerFactory
|
|
{
|
|
public:
|
|
typedef IGpFontHandler *(*FactoryFunc_t)(const GpFontHandlerProperties &properties);
|
|
|
|
static IGpFontHandler *CreateFontHandler(const GpFontHandlerProperties &properties);
|
|
static void RegisterFontHandlerFactory(EGpFontHandlerType type, FactoryFunc_t func);
|
|
|
|
private:
|
|
static FactoryFunc_t ms_registry[EGpFontHandlerType_Count];
|
|
};
|