29 lines
438 B
C++
29 lines
438 B
C++
#include "Archimedes.h"
|
|
#include "WindowImpl/GLFW/windowGLFW.h"
|
|
#include "Renderer/Renderer.h"
|
|
|
|
class WindowModule : public Module {
|
|
|
|
public:
|
|
WindowModule(void*, App&);
|
|
|
|
~WindowModule();
|
|
|
|
void run();
|
|
|
|
void onLoad();
|
|
|
|
private:
|
|
|
|
Window* window;
|
|
|
|
Renderer* renderer;
|
|
};
|
|
|
|
|
|
extern "C" {
|
|
Module* create(void* handle, App& app) {
|
|
return new WindowModule(handle, app);
|
|
}
|
|
}
|