mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 03:59:36 +00:00
Lots of stuff
This commit is contained in:
25
PortabilityLayer/DisplayDeviceManager.h
Normal file
25
PortabilityLayer/DisplayDeviceManager.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
#ifndef __PL_DEVICE_MANAGER_H__
|
||||
#define __PL_DEVICE_MANAGER_H__
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
struct GDevice;
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class DisplayDeviceManager
|
||||
{
|
||||
public:
|
||||
virtual void Init() = 0;
|
||||
virtual void Shutdown() = 0;
|
||||
|
||||
virtual GDevice **GetMainDevice() = 0;
|
||||
virtual void IncrementTickCount(uint32_t count) = 0;
|
||||
virtual uint32_t GetTickCount() = 0;
|
||||
|
||||
static DisplayDeviceManager *GetInstance();
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user