aboutsummaryrefslogtreecommitdiff
path: root/src/ui/accounts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/accounts.h')
-rw-r--r--src/ui/accounts.h18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/ui/accounts.h b/src/ui/accounts.h
index 1373502..63b0af2 100644
--- a/src/ui/accounts.h
+++ b/src/ui/accounts.h
@@ -28,11 +28,27 @@
28#include <stdlib.h> 28#include <stdlib.h>
29#include <curses.h> 29#include <curses.h>
30 30
31struct UI_ACCOUNTS_Handle 31struct MESSENGER_Application;
32struct GNUNET_CHAT_Account;
33
34typedef struct UI_ACCOUNTS_Handle
32{ 35{
33 WINDOW *window; 36 WINDOW *window;
37
38 int line_index;
39 int line_offset;
40 int line_selected;
41
42 struct GNUNET_CHAT_Account *selected;
34} UI_ACCOUNTS_Handle; 43} UI_ACCOUNTS_Handle;
35 44
45void
46accounts_event(UI_ACCOUNTS_Handle *accounts,
47 struct MESSENGER_Application *app,
48 int key);
36 49
50void
51accounts_print(UI_ACCOUNTS_Handle *accounts,
52 struct MESSENGER_Application *app);
37 53
38#endif /* UI_ACCOUNTS_H_ */ 54#endif /* UI_ACCOUNTS_H_ */