Files
Aerofoil/PortabilityLayer/QDManager.h

29 lines
574 B
C
Raw Permalink Normal View History

#pragma once
#include "GpPixelFormat.h"
2019-12-29 06:38:18 -05:00
#include "PLErrorCodes.h"
struct ColorTable;
2019-12-30 20:53:11 -05:00
struct DrawSurface;
struct Rect;
namespace PortabilityLayer
{
class QDPort;
struct QDState;
class QDManager
{
public:
virtual void Init() = 0;
2019-12-27 18:05:32 -05:00
virtual QDPort *GetPort() const = 0;
virtual void SetPort(QDPort *gw) = 0;
2019-12-30 20:53:11 -05:00
virtual PLError_t NewGWorld(DrawSurface **gw, GpPixelFormat_t pixelFormat, const Rect &bounds, ColorTable **colorTable) = 0;
virtual void DisposeGWorld(DrawSurface *gw) = 0;
virtual QDState *GetState() = 0;
static QDManager *GetInstance();
};
}