diff src/audacious/plugin.h @ 4288:fe09acacd473

add event_queue() to the vtable as aud_event_queue()
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Sun, 17 Feb 2008 21:17:26 +0900
parents 3c673b6803c1
children fec498c745f6
line wrap: on
line diff
--- a/src/audacious/plugin.h	Sat Feb 16 02:38:07 2008 +0300
+++ b/src/audacious/plugin.h	Sun Feb 17 21:17:26 2008 +0900
@@ -643,6 +643,8 @@
     void (*set_pvt_data)(Plugin * plugin, gpointer data);
     gpointer (*get_pvt_data)(void);
 
+    void (*event_queue)(const gchar *name, gpointer user_data);
+
 };
 
 /* Convenience macros for accessing the public API. */
@@ -984,6 +986,8 @@
 #define aud_set_pvt_data			_audvt->set_pvt_data
 #define aud_get_pvt_data			_audvt->get_pvt_data
 
+#define aud_event_queue             _audvt->event_queue
+
 #include "audacious/auddrct.h"
 
 /* for multi-file plugins :( */