mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Menu work, move VOS queue interface
This commit is contained in:
@@ -17,6 +17,7 @@ namespace PortabilityLayer
|
||||
void GetPort(QDPort **port, GDevice ***gdHandle) override;
|
||||
void SetPort(QDPort *gw, GDevice **gdHandle) override;
|
||||
int NewGWorld(CGraf **gw, int depth, const Rect &bounds, ColorTable **colorTable, GDevice **device, int flags) override;
|
||||
void DisposeGWorld(CGraf *gw) override;
|
||||
QDState *GetState() override;
|
||||
|
||||
static QDManagerImpl *GetInstance();
|
||||
@@ -93,6 +94,12 @@ namespace PortabilityLayer
|
||||
return noErr;
|
||||
}
|
||||
|
||||
void QDManagerImpl::DisposeGWorld(CGraf *gw)
|
||||
{
|
||||
gw->~CGraf();
|
||||
MemoryManager::GetInstance()->Release(gw);
|
||||
}
|
||||
|
||||
QDState *QDManagerImpl::GetState()
|
||||
{
|
||||
return m_port->GetState();
|
||||
|
||||
Reference in New Issue
Block a user