File system refactoring

This commit is contained in:
elasota
2019-12-29 06:38:18 -05:00
parent b24505164d
commit 430842d17b
74 changed files with 874 additions and 1240 deletions

View File

@@ -1,6 +1,7 @@
#pragma once
#include "GpPixelFormat.h"
#include "PLErrorCodes.h"
struct ColorTable;
struct CGraf;
@@ -17,13 +18,11 @@ namespace PortabilityLayer
virtual void Init() = 0;
virtual QDPort *GetPort() const = 0;
virtual void SetPort(QDPort *gw) = 0;
virtual int NewGWorld(CGraf **gw, int depth, const Rect &bounds, ColorTable **colorTable, int flags) = 0;
virtual PLError_t NewGWorld(CGraf **gw, GpPixelFormat_t pixelFormat, const Rect &bounds, ColorTable **colorTable) = 0;
virtual void DisposeGWorld(CGraf *gw) = 0;
virtual QDState *GetState() = 0;
virtual int DepthForPixelFormat(GpPixelFormat_t pixelFormat) const = 0;
static QDManager *GetInstance();
};
}