summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meson.build2
-rw-r--r--sdl.c29
2 files changed, 31 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 9bd034a..4b57931 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,6 @@
project('LimoX', 'c')
gtkdep = dependency('gtk4')
strophedep = dependency('libstrophe')
+sdldep = dependency('sdl2')
executable('limox', ['main.c', 'gtk.c', 'net.c', 'data.c'], dependencies : [gtkdep, strophedep])
+executable('limox_sdl', ['main.c', 'sdl.c', 'net.c', 'data.c'], dependencies : [sdldep, strophedep])
diff --git a/sdl.c b/sdl.c
new file mode 100644
index 0000000..c17e0f8
--- /dev/null
+++ b/sdl.c
@@ -0,0 +1,29 @@
+
+
+#include "net.h"
+#include "data.h"
+
+
+void gui_run(void) {
+
+}
+
+void gui_connected(char* jid, char* password) {
+
+}
+
+void gui_disconnected(void) {
+
+}
+
+void gui_add_roster_item_widget(roster_item_t* item) {
+
+}
+
+void gui_add_chat_widget(chat_t* chat) {
+
+}
+
+void gui_add_message_widget(message_t* message, chat_t* chat) {
+
+}