diff options
Diffstat (limited to 'src/ui/chat.h')
-rw-r--r-- | src/ui/chat.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/ui/chat.h b/src/ui/chat.h index 68b2eb3..ce1df94 100644 --- a/src/ui/chat.h +++ b/src/ui/chat.h | |||
@@ -29,6 +29,8 @@ | |||
29 | #include <libhandy-1/handy.h> | 29 | #include <libhandy-1/handy.h> |
30 | #include <libnotify/notify.h> | 30 | #include <libnotify/notify.h> |
31 | 31 | ||
32 | #include <gnunet/gnunet_chat_lib.h> | ||
33 | |||
32 | typedef struct MESSENGER_Application MESSENGER_Application; | 34 | typedef struct MESSENGER_Application MESSENGER_Application; |
33 | typedef struct UI_PICKER_Handle UI_PICKER_Handle; | 35 | typedef struct UI_PICKER_Handle UI_PICKER_Handle; |
34 | 36 | ||
@@ -39,10 +41,17 @@ typedef struct UI_CHAT_Handle | |||
39 | 41 | ||
40 | GtkButton *back_button; | 42 | GtkButton *back_button; |
41 | 43 | ||
44 | HdyFlap *flap_chat_details; | ||
45 | |||
42 | GtkLabel *chat_title; | 46 | GtkLabel *chat_title; |
43 | GtkLabel *chat_subtitle; | 47 | GtkLabel *chat_subtitle; |
44 | GtkButton *chat_details_button; | 48 | GtkButton *chat_details_button; |
45 | 49 | ||
50 | GtkLabel *chat_details_label; | ||
51 | GtkButton *hide_chat_details_button; | ||
52 | GtkBox *chat_details_contacts_box; | ||
53 | |||
54 | GtkListBox *chat_contacts_listbox; | ||
46 | GtkListBox *messages_listbox; | 55 | GtkListBox *messages_listbox; |
47 | 56 | ||
48 | GtkButton *attach_file_button; | 57 | GtkButton *attach_file_button; |
@@ -60,7 +69,8 @@ UI_CHAT_Handle* | |||
60 | ui_chat_new(MESSENGER_Application *app); | 69 | ui_chat_new(MESSENGER_Application *app); |
61 | 70 | ||
62 | void | 71 | void |
63 | ui_chat_activate(UI_CHAT_Handle *handle); | 72 | ui_chat_update(UI_CHAT_Handle *handle, |
73 | const struct GNUNET_CHAT_Context* context); | ||
64 | 74 | ||
65 | void | 75 | void |
66 | ui_chat_delete(UI_CHAT_Handle *handle); | 76 | ui_chat_delete(UI_CHAT_Handle *handle); |