Mercurial > audlegacy
diff src/audacious/plugin.h @ 3755:2ca446f02d97
export the fileinfopopup API.
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Sun, 14 Oct 2007 21:04:46 -0500 |
| parents | 74bed6b35161 |
| children | d24d28e76588 |
line wrap: on
line diff
--- a/src/audacious/plugin.h Sun Oct 14 19:38:49 2007 -0500 +++ b/src/audacious/plugin.h Sun Oct 14 21:04:46 2007 -0500 @@ -544,6 +544,13 @@ gint (*prefswin_page_new)(GtkWidget *container, gchar *name, gchar *imgurl); void (*prefswin_page_destroy)(GtkWidget *container); + + /* FileInfoPopup API */ + GtkWidget *(*fileinfopopup_create)(void); + void (*fileinfopopup_destroy)(GtkWidget* fileinfopopup_win); + void (*fileinfopopup_show_from_tuple)(GtkWidget *fileinfopopup_win, Tuple *tuple); + void (*fileinfopopup_show_from_title)(GtkWidget *fileinfopopup_win, gchar *title); + void (*fileinfopopup_hide)(GtkWidget *filepopup_win, gpointer unused); }; /* Convenience macros for accessing the public API. */ @@ -848,6 +855,12 @@ #define aud_prefswin_page_new _audvt->prefswin_page_new #define aud_prefswin_page_destroy _audvt->prefswin_page_destroy +#define audacious_fileinfopopup_create _audvt->fileinfopopup_create +#define audacious_fileinfopopup_destroy _audvt->fileinfopopup_destroy +#define audacious_fileinfopopup_show_from_tuple _audvt->fileinfopopup_show_from_tuple +#define audacious_fileinfopopup_show_from_title _audvt->fileinfopopup_show_from_title +#define audacious_fileinfopopup_hide _audvt->fileinfopopup_hide + #include "audacious/auddrct.h" /* for multi-file plugins :( */
