namespace
This commit is contained in:
@@ -30,8 +30,9 @@
|
|||||||
gcc
|
gcc
|
||||||
];
|
];
|
||||||
|
|
||||||
/*buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
];*/
|
glfw
|
||||||
|
];
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
g++ \
|
g++ \
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
#include "Window/Window.h"
|
#include "Window/Window.h"
|
||||||
#include "Renderer/Renderer.h"
|
#include "Renderer/Renderer.h"
|
||||||
|
|
||||||
class WindowModule : public Module {
|
class WindowModule : public Archimedes::Module {
|
||||||
|
|
||||||
public:
|
public:
|
||||||
WindowModule(void*, App&);
|
WindowModule(void*, Archimedes::App&);
|
||||||
|
|
||||||
~WindowModule();
|
~WindowModule();
|
||||||
|
|
||||||
@@ -20,7 +20,7 @@ class WindowModule : public Module {
|
|||||||
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
Module* create(void* handle, App& app) {
|
Archimedes::Module* create(void* handle, Archimedes::App& app) {
|
||||||
return new WindowModule(handle, app);
|
return new WindowModule(handle, app);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user