diff options
| author | hachem <im@hachem.wtf> | 2025-08-14 00:42:05 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-14 00:42:05 +0200 |
| commit | e050dce79b67ae6386240567a994454711ab998d (patch) | |
| tree | 4b5f55471d86b8ee80d531696e65dcea3b713e7a /src/Core/Application.h | |
| parent | 2e246683df3b18e8e129adb0ada25be5f82f5b59 (diff) | |
[add]: Custom memory managers and fix includes
Diffstat (limited to 'src/Core/Application.h')
| -rw-r--r-- | src/Core/Application.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Core/Application.h b/src/Core/Application.h index 92ab781..3d0ba25 100644 --- a/src/Core/Application.h +++ b/src/Core/Application.h @@ -1,12 +1,10 @@ #pragma once -#include <memory> -#include <functional> - +#include "Memory.h" #include "Window.h" #include "Event.h" -#include "StateManager.h" #include "Log.h" +#include "StateManager.h" namespace Donut { @@ -29,8 +27,8 @@ namespace Donut void OnRender(); void OnEvent(Event& event); private: - std::unique_ptr<StateManager> m_StateManager; - std::unique_ptr<Window> m_Window; + Scope<StateManager> m_StateManager; + Scope<Window> m_Window; bool m_Running; bool m_Minimized; |
