diff options
author | James Booth <boothj5@gmail.com> | 2014-12-10 22:23:33 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-12-10 22:23:33 +0000 |
commit | 9ba5a576bab1c56713fc9683c0adc8cdfaab5e50 (patch) | |
tree | fcd7d42b71d62223ae3a83de8deb30121530b5e0 /src/ui/ui.h | |
parent | c8ae55a88c0d013eabb684395e5293c608de5574 (diff) | |
download | profani-tty-9ba5a576bab1c56713fc9683c0adc8cdfaab5e50.tar.gz |
Split private message handling to separate functions
Diffstat (limited to 'src/ui/ui.h')
-rw-r--r-- | src/ui/ui.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/ui.h b/src/ui/ui.h index 265806a7..b1535def 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -120,8 +120,9 @@ void (*ui_handle_stanza)(const char * const msg); // ui events void (*ui_contact_typing)(const char * const from); -void (*ui_incoming_msg)(const char * const from, const char * const message, - GTimeVal *tv_stamp, gboolean priv); +void (*ui_incoming_msg)(const char * const from, const char * const message, GTimeVal *tv_stamp); +void (*ui_incoming_private_msg)(const char * const fulljid, const char * const message, GTimeVal *tv_stamp); + void (*ui_disconnected)(void); void (*ui_recipient_gone)(const char * const barejid); void (*ui_outgoing_msg)(const char * const from, const char * const to, |