summaryrefslogtreecommitdiff
path: root/gui.h
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2022-08-14 16:07:34 +0200
committerxengineering <me@xengineering.eu>2022-08-15 19:01:15 +0200
commit21a2b2033485c106a537e5e2302f4e4d96a66b94 (patch)
tree8457f0057596540eb193fcb3410d07071160aca3 /gui.h
parent2acca5d84a318f6c8858acb8ee7eca7e59369160 (diff)
downloadlimox-21a2b2033485c106a537e5e2302f4e4d96a66b94.tar
limox-21a2b2033485c106a537e5e2302f4e4d96a66b94.tar.zst
limox-21a2b2033485c106a537e5e2302f4e4d96a66b94.zip
Implement XMPP connect / disconnect
Diffstat (limited to 'gui.h')
-rw-r--r--gui.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/gui.h b/gui.h
index 5df3576..057e0b1 100644
--- a/gui.h
+++ b/gui.h
@@ -1,3 +1,8 @@
-void run_gui(void);
-void add_chat(char* jid);
-void add_incoming_text_message(char* sender_jid, char* content);
+// interface for main.c
+void gui_run(void);
+
+// interface for limox.c
+void gui_connected(char* jid, char* password);
+void gui_disconnected(void);
+void gui_suspended(void);
+void gui_resumed(void);