diff options
author | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-03-28 00:02:43 +0100 |
---|---|---|
committer | Steven Le Rouzic <steven.lerouzic@gmail.com> | 2024-03-28 00:02:43 +0100 |
commit | b70ed765ff6cf51aff20714e3ec4415b06898059 (patch) | |
tree | c8d0c3ab553108c4d19660039ecf7323a4640feb /main/main.cpp | |
parent | e1229e05aba7554363b2aa9874bd383b5923ee8b (diff) |
Random work
Diffstat (limited to 'main/main.cpp')
-rw-r--r-- | main/main.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/main/main.cpp b/main/main.cpp new file mode 100644 index 0000000..41e2e29 --- /dev/null +++ b/main/main.cpp @@ -0,0 +1,12 @@ +#include <deimos/core/api_registry.h>
+#include <deimos/core/os.h>
+
+int main(int /* argc */, char* /* argv */[])
+{
+ auto* api_registry = deimos::InitializeGlobalApiRegistry();
+ auto* os_api = api_registry->Get<deimos::OsApi>();
+ os_api->console->Write(deimos::OsConsoleType::kStdOut, "Hello\n", 6);
+
+ return 0;
+}
+
|