mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 06:53:43 +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.
19 lines
497 B
C++
19 lines
497 B
C++
#pragma once
|
|
|
|
#include "EGpDisplayDriverType.h"
|
|
|
|
struct IGpDisplayDriver;
|
|
struct GpDisplayDriverProperties;
|
|
|
|
class GpDisplayDriverFactory
|
|
{
|
|
public:
|
|
typedef IGpDisplayDriver *(*FactoryFunc_t)(const GpDisplayDriverProperties &properties);
|
|
|
|
static IGpDisplayDriver *CreateDisplayDriver(const GpDisplayDriverProperties &properties);
|
|
static void RegisterDisplayDriverFactory(EGpDisplayDriverType type, FactoryFunc_t func);
|
|
|
|
private:
|
|
static FactoryFunc_t ms_registry[EGpDisplayDriverType_Count];
|
|
};
|