diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-29 17:44:42 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-11-29 17:44:42 +0100 |
commit | bf0b5f5644abbf0a79674af7e75f6e24981babfc (patch) | |
tree | e3bd5fb98c83ba64f8f0f922084e6e941644529a /src/core/wee-hook.h | |
parent | bc00946a0da47dbc16cefbb915ae7f94b0ac3abf (diff) | |
download | weechat-bf0b5f5644abbf0a79674af7e75f6e24981babfc.zip |
Add "displayed" and "highlight" arguments to callback for hook_print
Diffstat (limited to 'src/core/wee-hook.h')
-rw-r--r-- | src/core/wee-hook.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/wee-hook.h b/src/core/wee-hook.h index 6e6dd0c27..1c9e4e8de 100644 --- a/src/core/wee-hook.h +++ b/src/core/wee-hook.h @@ -25,6 +25,7 @@ #endif struct t_gui_buffer; +struct t_gui_line; struct t_gui_completion; struct t_weelist; struct t_infolist; @@ -145,7 +146,8 @@ struct t_hook_connect typedef int (t_hook_callback_print)(void *data, struct t_gui_buffer *buffer, time_t date, int tags_count, - const char **tags, const char *prefix, + const char **tags, int displayed, + int highlight, const char *prefix, const char *message); struct t_hook_print @@ -270,9 +272,7 @@ extern struct t_hook *hook_print (struct t_weechat_plugin *plugin, t_hook_callback_print *callback, void *callback_data); extern void hook_print_exec (struct t_gui_buffer *buffer, - time_t date, int tags_count, - const char **tags_array, const char *prefix, - const char *message); + struct t_gui_line *line); extern struct t_hook *hook_signal (struct t_weechat_plugin *plugin, const char *signal, t_hook_callback_signal *callback, |