hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2024-10-07 09:05:17 +0200
committerhachem <im@hachem.wtf>2024-10-07 09:05:17 +0200
commit16afec529705ebe2704cb0a85699797bf971827d (patch)
treeb71fcd35f70c2211d1763bdf934da94f9870e1b2 /src/main.cpp
parentac251dd319c95d89c669e04111fabf53699b134d (diff)
feat: application run loop and 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;
}