2019-12-11 00:51:42 -05:00
|
|
|
#pragma once
|
|
|
|
|
|
2019-12-24 18:39:30 -05:00
|
|
|
#include "GpPixelFormat.h"
|
2019-12-29 06:38:18 -05:00
|
|
|
#include "PLErrorCodes.h"
|
2019-12-24 18:39:30 -05:00
|
|
|
|
2019-12-11 00:51:42 -05:00
|
|
|
struct ColorTable;
|
2019-12-30 20:53:11 -05:00
|
|
|
struct DrawSurface;
|
2019-12-11 00:51:42 -05:00
|
|
|
struct Rect;
|
|
|
|
|
|
|
|
|
|
namespace PortabilityLayer
|
|
|
|
|
{
|
|
|
|
|
class QDPort;
|
|
|
|
|
|
|
|
|
|
class QDManager
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
virtual void Init() = 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;
|
2019-12-11 00:51:42 -05:00
|
|
|
|
|
|
|
|
static QDManager *GetInstance();
|
|
|
|
|
};
|
|
|
|
|
}
|