Files
Aerofoil/PortabilityLayer/HostFontHandler.h

24 lines
396 B
C
Raw Normal View History

2019-12-21 18:40:17 -05:00
#pragma once
2020-09-12 13:32:53 -04:00
class GpIOStream;
2019-12-21 18:40:17 -05:00
namespace PortabilityLayer
{
class HostFont;
2019-12-21 18:40:17 -05:00
class HostFontHandler
{
public:
virtual void Shutdown() = 0;
2020-09-12 13:32:53 -04:00
virtual HostFont *LoadFont(GpIOStream *stream) = 0;
virtual bool KeepStreamOpen() const = 0;
2019-12-21 18:40:17 -05:00
static void SetInstance(HostFontHandler *instance);
static HostFontHandler *GetInstance();
private:
static HostFontHandler *ms_instance;
};
}