mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
24 lines
393 B
C++
24 lines
393 B
C++
#pragma once
|
|
|
|
|
|
namespace PortabilityLayer
|
|
{
|
|
class IOStream;
|
|
class HostFont;
|
|
|
|
class HostFontHandler
|
|
{
|
|
public:
|
|
virtual void Shutdown() = 0;
|
|
|
|
virtual HostFont *LoadFont(IOStream *stream) = 0;
|
|
virtual bool KeepStreamOpen() const = 0;
|
|
|
|
static void SetInstance(HostFontHandler *instance);
|
|
static HostFontHandler *GetInstance();
|
|
|
|
private:
|
|
static HostFontHandler *ms_instance;
|
|
};
|
|
}
|