mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 23:00:42 +00:00
Lots of stuff
This commit is contained in:
21
PortabilityLayer/HostDisplayDriver.h
Normal file
21
PortabilityLayer/HostDisplayDriver.h
Normal file
@@ -0,0 +1,21 @@
|
||||
#pragma once
|
||||
#ifndef __PL_HOST_DISPLAY_DRIVER_H__
|
||||
#define __PL_HOST_DISPLAY_DRIVER_H__
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
class HostDisplayDriver
|
||||
{
|
||||
public:
|
||||
virtual void GetDisplayResolution(unsigned int &width, unsigned int &height) = 0;
|
||||
virtual void HideCursor() = 0;
|
||||
|
||||
static void SetInstance(HostDisplayDriver *instance);
|
||||
static HostDisplayDriver *GetInstance();
|
||||
|
||||
private:
|
||||
static HostDisplayDriver *ms_instance;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user