diff options
| author | hachem <im@hachem.wtf> | 2024-10-10 14:17:34 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2024-10-10 14:17:34 +0200 |
| commit | 6a3dbf44bb8056f3f4554282f092132332ac7f4a (patch) | |
| tree | 686d3d8b6f40d9dd7159173bb48b049c73f5d1a3 /src/core/application.h | |
| parent | 78c72c3b3e42e3e33afe6cd78ae4bc9db09a59f4 (diff) | |
feat: debugger interface
Diffstat (limited to 'src/core/application.h')
| -rw-r--r-- | src/core/application.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/application.h b/src/core/application.h index 8df5afb..2f5ffbe 100644 --- a/src/core/application.h +++ b/src/core/application.h @@ -6,6 +6,7 @@ namespace Hsdbg { + class Debugger; class Window; class WindowManager; @@ -34,6 +35,7 @@ namespace Hsdbg auto close() -> void; auto window() -> Window& { return *m_window; } + auto debugger() -> Debugger& { return *m_debugger; } auto spec() const -> const ApplicationSpec& { return m_spec; } auto is_running() const -> bool { return m_running; } auto delta_time() const -> float { return m_delta_time; } @@ -48,6 +50,7 @@ namespace Hsdbg ApplicationSpec m_spec; std::unique_ptr<WindowManager> m_window_manager; + std::unique_ptr<Debugger> m_debugger; Window* m_window = nullptr; bool m_running = false; float m_delta_time = 0.0f; |
