summary refs log tree commit diff stats
path: root/src/common/hexchat-plugin.h
diff options
context:
space:
mode:
authorDiogo Sousa <diogogsousa@gmail.com>2013-07-12 01:33:35 +0100
committerDiogo Sousa <diogogsousa@gmail.com>2013-07-12 01:33:35 +0100
commite0fb3d537d86001a8ccc5cc1c90a0ecc4f6a8d92 (patch)
treea6516c8b421a52b6bcdb6998cf4b4546bb0bcb66 /src/common/hexchat-plugin.h
parent5e240eb259c473dd5ef25a5d11ef5ad574470f3a (diff)
Added hexchat_emit_print_attrs() to plugin interface.
Diffstat (limited to 'src/common/hexchat-plugin.h')
-rw-r--r--src/common/hexchat-plugin.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/hexchat-plugin.h b/src/common/hexchat-plugin.h
index f5583e2a..db2630f7 100644
--- a/src/common/hexchat-plugin.h
+++ b/src/common/hexchat-plugin.h
@@ -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);