Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 4287:19c4a20d11a1 | 4288:fe09acacd473 |
|---|---|
| 640 gchar *(*uri_to_display_basename)(const gchar * uri); | 640 gchar *(*uri_to_display_basename)(const gchar * uri); |
| 641 gchar *(*uri_to_display_dirname)(const gchar * uri); | 641 gchar *(*uri_to_display_dirname)(const gchar * uri); |
| 642 | 642 |
| 643 void (*set_pvt_data)(Plugin * plugin, gpointer data); | 643 void (*set_pvt_data)(Plugin * plugin, gpointer data); |
| 644 gpointer (*get_pvt_data)(void); | 644 gpointer (*get_pvt_data)(void); |
| 645 | |
| 646 void (*event_queue)(const gchar *name, gpointer user_data); | |
| 645 | 647 |
| 646 }; | 648 }; |
| 647 | 649 |
| 648 /* Convenience macros for accessing the public API. */ | 650 /* Convenience macros for accessing the public API. */ |
| 649 /* public name vtable mapping */ | 651 /* public name vtable mapping */ |
| 982 #define aud_uri_to_display_dirname _audvt->uri_to_display_dirname | 984 #define aud_uri_to_display_dirname _audvt->uri_to_display_dirname |
| 983 | 985 |
| 984 #define aud_set_pvt_data _audvt->set_pvt_data | 986 #define aud_set_pvt_data _audvt->set_pvt_data |
| 985 #define aud_get_pvt_data _audvt->get_pvt_data | 987 #define aud_get_pvt_data _audvt->get_pvt_data |
| 986 | 988 |
| 989 #define aud_event_queue _audvt->event_queue | |
| 990 | |
| 987 #include "audacious/auddrct.h" | 991 #include "audacious/auddrct.h" |
| 988 | 992 |
| 989 /* for multi-file plugins :( */ | 993 /* for multi-file plugins :( */ |
| 990 G_BEGIN_DECLS | 994 G_BEGIN_DECLS |
| 991 extern struct _AudaciousFuncTableV1 *_audvt; | 995 extern struct _AudaciousFuncTableV1 *_audvt; |
