aboutsummaryrefslogtreecommitdiff
path: root/src/ui/message.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/message.h')
-rw-r--r--src/ui/message.h8
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
33typedef struct MESSENGER_Application MESSENGER_Application; 35typedef struct MESSENGER_Application MESSENGER_Application;
34 36
35typedef enum UI_MESSAGE_Type 37typedef 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
77void 81void
82ui_message_update(UI_MESSAGE_Handle *handle,
83 struct GNUNET_CHAT_Message *message);
84
85void
78ui_message_delete(UI_MESSAGE_Handle *handle); 86ui_message_delete(UI_MESSAGE_Handle *handle);
79 87
80#endif /* UI_MESSAGE_H_ */ 88#endif /* UI_MESSAGE_H_ */