diff options
author | James Booth <boothj5@gmail.com> | 2014-09-30 00:16:01 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-09-30 00:16:01 +0100 |
commit | 4f7feedb655bc575c6041ef8b19a48342ce346b1 (patch) | |
tree | 8bcdaa9e102bbdcd01ec1421b1d4fe480da19f43 /src/ui/window.h | |
parent | 2dacfc823a79d69a6bafaee0388732ad6878e2a7 (diff) | |
download | profani-tty-4f7feedb655bc575c6041ef8b19a48342ce346b1.tar.gz |
Changed rooms to use Occupant type instead of PContact
Diffstat (limited to 'src/ui/window.h')
-rw-r--r-- | src/ui/window.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/window.h b/src/ui/window.h index 8150fac9..804ea300 100644 --- a/src/ui/window.h +++ b/src/ui/window.h @@ -44,6 +44,7 @@ #endif #include "contact.h" +#include "muc.h" #include "ui/buffer.h" #include "xmpp/xmpp.h" @@ -85,6 +86,7 @@ void win_update_virtual(ProfWin *window); void win_move_to_end(ProfWin *window); int win_presence_colour(const char * const presence); void win_show_contact(ProfWin *window, PContact contact); +void win_show_occupant(ProfWin *window, Occupant *occupant); void win_show_status_string(ProfWin *window, const char * const from, const char * const show, const char * const status, GDateTime *last_activity, const char * const pre, @@ -92,6 +94,7 @@ void win_show_status_string(ProfWin *window, const char * const from, void win_print_incoming_message(ProfWin *window, GTimeVal *tv_stamp, const char * const from, const char * const message); void win_show_info(ProfWin *window, PContact contact); +void win_show_occupant_info(ProfWin *window, const char * const room, Occupant *occupant); void win_save_vprint(ProfWin *window, const char show_char, GTimeVal *tstamp, int flags, int attrs, const char * const from, const char * const message, ...); void win_save_print(ProfWin *window, const char show_char, GTimeVal *tstamp, int flags, int attrs, const char * const from, const char * const message); void win_save_println(ProfWin *window, const char * const message); |