Added hexchat_emit_print_attrs() to plugin interface.

This commit is contained in:
Diogo Sousa
2013-07-12 01:33:35 +01:00
parent 5e240eb259
commit e0fb3d537d
5 changed files with 45 additions and 9 deletions

View File

@@ -180,6 +180,8 @@ struct _hexchat_plugin
int (*callback) (char *word[], hexchat_event_attrs *attrs,
void *user_data),
void *userdata);
int (*hexchat_emit_print_attrs) (hexchat_plugin *ph, hexchat_event_attrs *attrs,
const char *event_name, ...);
};
#endif
@@ -330,6 +332,10 @@ int
hexchat_emit_print (hexchat_plugin *ph,
const char *event_name, ...);
int
hexchat_emit_print_attrs (hexchat_plugin *ph, hexchat_event_attrs *attrs,
const char *event_name, ...);
char *
hexchat_gettext (hexchat_plugin *ph,
const char *msgid);