mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-23 14:53:52 +00:00
More work. Audio driver works enough to play music now.
This commit is contained in:
25
PortabilityLayer/WindowManager.h
Normal file
25
PortabilityLayer/WindowManager.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#pragma once
|
||||
|
||||
struct Window;
|
||||
struct CGraf;
|
||||
struct GDevice;
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
struct WindowDef;
|
||||
|
||||
class WindowManager
|
||||
{
|
||||
public:
|
||||
virtual Window *GetPutInFrontSentinel() const = 0;
|
||||
virtual Window *CreateWindow(const WindowDef &windowDef) = 0;
|
||||
virtual void ResizeWindow(Window *window, int width, int height) = 0;
|
||||
virtual void MoveWindow(Window *window, int x, int y) = 0;
|
||||
virtual void PutWindowBehind(Window *window, Window *otherWindow) = 0;
|
||||
virtual void ShowWindow(Window *window) = 0;
|
||||
virtual void HideWindow(Window *window) = 0;
|
||||
virtual GDevice **GetWindowDevice(Window *window) = 0;
|
||||
|
||||
static WindowManager *GetInstance();
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user