diff options
Diffstat (limited to 'src/ui/message.h')
-rw-r--r-- | src/ui/message.h | 11 |
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 | ||
44 | typedef 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 | |||
51 | typedef struct UI_MESSAGE_Handle | 44 | typedef 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 | ||
77 | UI_MESSAGE_Handle* | 70 | UI_MESSAGE_Handle* |
78 | ui_message_new(UI_MESSAGE_Type type, | 71 | ui_message_new(MESSENGER_Application *app, |
79 | UI_MESSAGE_ContentType content_type); | 72 | UI_MESSAGE_Type type); |
80 | 73 | ||
81 | void | 74 | void |
82 | ui_message_update(UI_MESSAGE_Handle *handle, | 75 | ui_message_update(UI_MESSAGE_Handle *handle, |