about summary refs log tree commit diff stats
path: root/src/ui/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/window.h')
-rw-r--r--src/ui/window.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/ui/window.h b/src/ui/window.h
index a4421d1b..2eec3b01 100644
--- a/src/ui/window.h
+++ b/src/ui/window.h
@@ -52,14 +52,17 @@ typedef struct prof_win_t {
     int paged;
     int unread;
     int history_shown;
+    void (*print_time)(struct prof_win_t *self, char show_char);
+    void (*print_line)(struct prof_win_t *self, const char * const msg, ...);
+    void (*refresh_win)(struct prof_win_t *self);
+    void (*presence_colour_on)(struct prof_win_t *self, const char * const presence);
+    void (*presence_colour_off)(struct prof_win_t *self, const char * const presence);
+    void (*show_contact)(struct prof_win_t *self, PContact contact);
+    gboolean (*handle_error_message)(struct prof_win_t *self,
+        const char * const from, const char * const err_msg);
 } ProfWin;
 
 ProfWin* win_create(const char * const title, int cols, win_type_t type);
 void win_free(ProfWin *window);
 
-void win_print_time(ProfWin *window, char show_char);
-void win_presence_colour_on(ProfWin *window, const char * const presence);
-void win_presence_colour_off(ProfWin *window, const char * const presence);
-void win_show_contact(ProfWin *window, PContact contact);
-
 #endif