aboutsummaryrefslogtreecommitdiff
path: root/src/application.h
diff options
context:
space:
mode:
authorTheJackiMonster <thejackimonster@gmail.com>2022-04-24 21:18:48 +0200
committerTheJackiMonster <thejackimonster@gmail.com>2022-04-24 21:18:48 +0200
commit31f06baed66c24e82e3cf50326ef66ec2b8ab8c6 (patch)
tree6611780e6946b63963ddfd4c1a1e5224addbb113 /src/application.h
parentd75a06e86407204e302fe3a49d8e2c137d1fbe2b (diff)
downloadmessenger-cli-31f06baed66c24e82e3cf50326ef66ec2b8ab8c6.tar.gz
messenger-cli-31f06baed66c24e82e3cf50326ef66ec2b8ab8c6.zip
Added list of chats and implemented switching back and forth
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
Diffstat (limited to 'src/application.h')
-rw-r--r--src/application.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/application.h b/src/application.h
index 0eeb37e..3e4bede 100644
--- a/src/application.h
+++ b/src/application.h
@@ -32,6 +32,7 @@
32#include "util.h" 32#include "util.h"
33 33
34#include "ui/accounts.h" 34#include "ui/accounts.h"
35#include "ui/chats.h"
35#include "ui/messages.h" 36#include "ui/messages.h"
36 37
37typedef struct MESSENGER_Application 38typedef struct MESSENGER_Application
@@ -44,6 +45,7 @@ typedef struct MESSENGER_Application
44 MESSENGER_Chat chat; 45 MESSENGER_Chat chat;
45 46
46 UI_ACCOUNTS_Handle accounts; 47 UI_ACCOUNTS_Handle accounts;
48 UI_CHATS_Handle chats;
47 UI_MESSAGES_Handle messages; 49 UI_MESSAGES_Handle messages;
48} MESSENGER_Application; 50} MESSENGER_Application;
49 51