diff options
| author | hachem <im@hachem.wtf> | 2024-10-07 09:05:17 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2024-10-07 09:05:17 +0200 |
| commit | 16afec529705ebe2704cb0a85699797bf971827d (patch) | |
| tree | b71fcd35f70c2211d1763bdf934da94f9870e1b2 /src/main.cpp | |
| parent | ac251dd319c95d89c669e04111fabf53699b134d (diff) | |
feat: application run loop and logging
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index d518fe6..bb72b0b 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,6 +1,17 @@ -#include <print> +#include "core/application.h" -auto main() -> int +auto main(int argc, char** argv) -> int { - std::println("Hachem's stupid debugger"); + (void)argc; + (void)argv; + + Hsdbg::ApplicationSpec spec; + spec.name = "hsdbg"; + spec.width = 1600; + spec.height = 900; + + Hsdbg::Application app(spec); + app.run(); + + return 0; } |
