mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-15 12:39:38 +00:00
Code cleanup, move a lot of "Host" APIs to GpCommon
This commit is contained in:
22
PortabilityLayer/PLDrivers.h
Normal file
22
PortabilityLayer/PLDrivers.h
Normal file
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "GpDriverIndex.h"
|
||||
|
||||
class PLDrivers
|
||||
{
|
||||
public:
|
||||
static GpDriverCollection *GetDriverCollection();
|
||||
|
||||
static IGpAudioDriver *GetAudioDriver();
|
||||
static IGpFileSystem *GetFileSystem();
|
||||
static IGpDisplayDriver *GetDisplayDriver();
|
||||
static IGpLogDriver *GetLogDriver();
|
||||
static size_t GetNumInputDrivers();
|
||||
static IGpInputDriver *GetInputDriver(size_t index);
|
||||
static IGpSystemServices *GetSystemServices();
|
||||
static IGpFontHandler *GetFontHandler();
|
||||
static IGpVOSEventQueue *GetVOSEventQueue();
|
||||
|
||||
private:
|
||||
static GpDriverCollection ms_drivers;
|
||||
};
|
||||
Reference in New Issue
Block a user