move utils to include. utils implimentations should be headers
This commit is contained in:
30
include/utils/Window/Window.h
Normal file
30
include/utils/Window/Window.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef WINDOW_H
|
||||
#define WINDOW_H
|
||||
|
||||
|
||||
#include "Renderer/Renderer.h"
|
||||
#include "WindowGLFW/WindowGLFW.h"
|
||||
|
||||
namespace Archimedes {
|
||||
|
||||
class Window {
|
||||
|
||||
public:
|
||||
|
||||
~Window() {};
|
||||
|
||||
bool shouldClose() { return window.shouldClose(); }
|
||||
|
||||
void doFrame();
|
||||
|
||||
Renderer& getRenderer() { return renderer; }
|
||||
WindowImpl& getWindowImpl() { return window; }
|
||||
|
||||
private:
|
||||
Renderer renderer;
|
||||
|
||||
WindowImpl window;
|
||||
};
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user