diff options
Diffstat (limited to 'src/ui/message.h')
-rw-r--r-- | src/ui/message.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/message.h b/src/ui/message.h index b380960..704c33f 100644 --- a/src/ui/message.h +++ b/src/ui/message.h | |||
@@ -30,6 +30,8 @@ | |||
30 | #include <gtk-3.0/gtk/gtk.h> | 30 | #include <gtk-3.0/gtk/gtk.h> |
31 | #include <libhandy-1/handy.h> | 31 | #include <libhandy-1/handy.h> |
32 | 32 | ||
33 | #include <gnunet/gnunet_chat_lib.h> | ||
34 | |||
33 | typedef struct MESSENGER_Application MESSENGER_Application; | 35 | typedef struct MESSENGER_Application MESSENGER_Application; |
34 | 36 | ||
35 | typedef enum UI_MESSAGE_Type | 37 | typedef enum UI_MESSAGE_Type |
@@ -65,6 +67,8 @@ typedef struct UI_MESSAGE_Handle | |||
65 | GtkLabel *timestamp_label; | 67 | GtkLabel *timestamp_label; |
66 | GtkImage *read_receipt_image; | 68 | GtkImage *read_receipt_image; |
67 | 69 | ||
70 | GtkStack *content_stack; | ||
71 | |||
68 | GtkLabel *text_label; | 72 | GtkLabel *text_label; |
69 | GtkRevealer *file_revealer; | 73 | GtkRevealer *file_revealer; |
70 | GtkDrawingArea *preview_drawing_area; | 74 | GtkDrawingArea *preview_drawing_area; |
@@ -75,6 +79,10 @@ ui_message_new(UI_MESSAGE_Type type, | |||
75 | UI_MESSAGE_ContentType content_type); | 79 | UI_MESSAGE_ContentType content_type); |
76 | 80 | ||
77 | void | 81 | void |
82 | ui_message_update(UI_MESSAGE_Handle *handle, | ||
83 | struct GNUNET_CHAT_Message *message); | ||
84 | |||
85 | void | ||
78 | ui_message_delete(UI_MESSAGE_Handle *handle); | 86 | ui_message_delete(UI_MESSAGE_Handle *handle); |
79 | 87 | ||
80 | #endif /* UI_MESSAGE_H_ */ | 88 | #endif /* UI_MESSAGE_H_ */ |