From 56a206cd17e1caf23fbfd679c39752e5e194f35d Mon Sep 17 00:00:00 2001 From: TheJackiMonster Date: Sun, 14 Nov 2021 17:31:52 +0100 Subject: Implemented multiple chats in parallel Signed-off-by: TheJackiMonster --- src/ui/chat_entry.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/ui/chat_entry.h') diff --git a/src/ui/chat_entry.h b/src/ui/chat_entry.h index 2315686..4842eaf 100644 --- a/src/ui/chat_entry.h +++ b/src/ui/chat_entry.h @@ -25,13 +25,12 @@ #ifndef UI_CHAT_ENTRY_H_ #define UI_CHAT_ENTRY_H_ -#include -#include - -typedef struct MESSENGER_Application MESSENGER_Application; +#include "chat.h" typedef struct UI_CHAT_ENTRY_Handle { + UI_CHAT_Handle *chat; + GtkWidget* entry_box; HdyAvatar* entry_avatar; @@ -44,6 +43,9 @@ typedef struct UI_CHAT_ENTRY_Handle } UI_CHAT_ENTRY_Handle; UI_CHAT_ENTRY_Handle* -ui_chat_entry_new(void); +ui_chat_entry_new(MESSENGER_Application *app); + +void +ui_chat_entry_delete(UI_CHAT_ENTRY_Handle *handle); #endif /* UI_CHAT_ENTRY_H_ */ -- cgit v1.2.3