diff options
Diffstat (limited to 'src/ui/accounts.h')
-rw-r--r-- | src/ui/accounts.h | 18 |
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 | ||
31 | struct UI_ACCOUNTS_Handle | 31 | struct MESSENGER_Application; |
32 | struct GNUNET_CHAT_Account; | ||
33 | |||
34 | typedef 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 | ||
45 | void | ||
46 | accounts_event(UI_ACCOUNTS_Handle *accounts, | ||
47 | struct MESSENGER_Application *app, | ||
48 | int key); | ||
36 | 49 | ||
50 | void | ||
51 | accounts_print(UI_ACCOUNTS_Handle *accounts, | ||
52 | struct MESSENGER_Application *app); | ||
37 | 53 | ||
38 | #endif /* UI_ACCOUNTS_H_ */ | 54 | #endif /* UI_ACCOUNTS_H_ */ |