From f693f85fd0506fee4ba526542be7bdee765d91ed Mon Sep 17 00:00:00 2001 From: Nathan Date: Fri, 21 Mar 2025 16:40:34 -0500 Subject: [PATCH] namespace --- flake.nix | 5 +++-- modules/Window/src/WindowModule.h | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/flake.nix b/flake.nix index 7c3d3fc..ac8268f 100755 --- a/flake.nix +++ b/flake.nix @@ -30,8 +30,9 @@ gcc ]; - /*buildInputs = with pkgs; [ - ];*/ + buildInputs = with pkgs; [ + glfw + ]; buildPhase = '' g++ \ diff --git a/modules/Window/src/WindowModule.h b/modules/Window/src/WindowModule.h index 0fa336b..e36214b 100644 --- a/modules/Window/src/WindowModule.h +++ b/modules/Window/src/WindowModule.h @@ -2,10 +2,10 @@ #include "Window/Window.h" #include "Renderer/Renderer.h" -class WindowModule : public Module { +class WindowModule : public Archimedes::Module { public: - WindowModule(void*, App&); + WindowModule(void*, Archimedes::App&); ~WindowModule(); @@ -20,7 +20,7 @@ class WindowModule : public Module { extern "C" { - Module* create(void* handle, App& app) { + Archimedes::Module* create(void* handle, Archimedes::App& app) { return new WindowModule(handle, app); } }