summaryrefslogtreecommitdiff
path: root/immediate
diff options
context:
space:
mode:
authorRoberto Esteves <contact@robertoesteves.dev>2025-11-22 16:35:06 +0000
committerRoberto Esteves <contact@robertoesteves.dev>2025-11-22 16:35:06 +0000
commite7c2ec9719349f7a20dd1d4854869c10d8836a11 (patch)
treeaf5b34d8d21cabd4ec6d4206ce5a6fd4651de56c /immediate
parentd84537c52f537920369618028f84b48296811fd0 (diff)
chore: restructure project and brainstorming ideasHEADmaster
Diffstat (limited to 'immediate')
-rw-r--r--immediate/immediate.c17
-rw-r--r--immediate/meson.build9
2 files changed, 26 insertions, 0 deletions
diff --git a/immediate/immediate.c b/immediate/immediate.c
new file mode 100644
index 0000000..814c83f
--- /dev/null
+++ b/immediate/immediate.c
@@ -0,0 +1,17 @@
+#include "immediate/immediate.h"
+
+static RuimToplevelBackend backend;
+
+int RuimInit(void) {
+ RuimToplevelBackendInit(&backend);
+
+ return 0;
+}
+
+void RuimBegin(void) {}
+void RuimEnd(void) {}
+
+int RuimWaitForEvent(void) { return 1; }
+
+void RuimBeginWindow(const char *title, RuimCoordinates *coordinates) {}
+void RuimEndWindow(void) {}
diff --git a/immediate/meson.build b/immediate/meson.build
new file mode 100644
index 0000000..5294147
--- /dev/null
+++ b/immediate/meson.build
@@ -0,0 +1,9 @@
+immediate_sources = files('immediate.c')
+
+immediate_library = library(
+ 'RuimImmediate',
+ immediate_sources,
+ include_directories: ruim_include,
+ link_with: [internal_lib, core_library],
+ install: true,
+)