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 | 0d8b874c0048ca088bb9e353a5f7c62e1f8cd0e8 (patch) | |
| tree | 2c0f3b13161489e4e91994882f8f2ed67a20bc0e /src/core/application.h | |
| parent | 9671d5e54484b8bce261207d08ff15053ae24e48 (diff) | |
feat: 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 326e541..048503b 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 "state_manager.h" #include "log.h" +#include "state_manager.h" namespace Donut { @@ -29,8 +27,8 @@ namespace Donut void on_render(); void on_event(Event& event); private: - std::unique_ptr<StateManager> m_state_manager; - std::unique_ptr<Window> m_window; + Scope<StateManager> m_state_manager; + Scope<Window> m_window; bool m_running; bool m_minimized; |
