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.h11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/ui/message.h b/src/ui/message.h
index 27577a9..f5883de 100644
--- a/src/ui/message.h
+++ b/src/ui/message.h
@@ -41,13 +41,6 @@ typedef enum UI_MESSAGE_Type
41 UI_MESSAGE_STATUS = 2 41 UI_MESSAGE_STATUS = 2
42} UI_MESSAGE_Type; 42} UI_MESSAGE_Type;
43 43
44typedef enum UI_MESSAGE_ContentType
45{
46 UI_MESSAGE_CONTENT_TEXT = 0,
47 UI_MESSAGE_CONTENT_FILE = 1,
48 UI_MESSAGE_CONTENT_PREVIEW = 2
49} UI_MESSAGE_ContentType;
50
51typedef struct UI_MESSAGE_Handle 44typedef struct UI_MESSAGE_Handle
52{ 45{
53 UI_MESSAGE_Type type; 46 UI_MESSAGE_Type type;
@@ -75,8 +68,8 @@ typedef struct UI_MESSAGE_Handle
75} UI_MESSAGE_Handle; 68} UI_MESSAGE_Handle;
76 69
77UI_MESSAGE_Handle* 70UI_MESSAGE_Handle*
78ui_message_new(UI_MESSAGE_Type type, 71ui_message_new(MESSENGER_Application *app,
79 UI_MESSAGE_ContentType content_type); 72 UI_MESSAGE_Type type);
80 73
81void 74void
82ui_message_update(UI_MESSAGE_Handle *handle, 75ui_message_update(UI_MESSAGE_Handle *handle,