aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-08-27 09:05:17 +0200
committerhachem <im@hachem.wtf>2026-08-27 09:05:17 +0200
commit4b64b2bd17433f427197af3679c9c8f5ad5ad1a4 (patch)
tree7c22cd4fd1d4d3d1d69a8b992adae3e5e6f9e898 /src/main.cpp
parentbbe77bbbfbac0043a29d76817af0991996033f93 (diff)
add: application run loop + logging
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp17
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;
}