Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
3754:74bed6b35161 | 3755:2ca446f02d97 |
---|---|
542 void (*formatter_dissociate)(Formatter * formatter, guchar id); | 542 void (*formatter_dissociate)(Formatter * formatter, guchar id); |
543 gchar *(*formatter_format)(Formatter * formatter, gchar * format); | 543 gchar *(*formatter_format)(Formatter * formatter, gchar * format); |
544 | 544 |
545 gint (*prefswin_page_new)(GtkWidget *container, gchar *name, gchar *imgurl); | 545 gint (*prefswin_page_new)(GtkWidget *container, gchar *name, gchar *imgurl); |
546 void (*prefswin_page_destroy)(GtkWidget *container); | 546 void (*prefswin_page_destroy)(GtkWidget *container); |
547 | |
548 /* FileInfoPopup API */ | |
549 GtkWidget *(*fileinfopopup_create)(void); | |
550 void (*fileinfopopup_destroy)(GtkWidget* fileinfopopup_win); | |
551 void (*fileinfopopup_show_from_tuple)(GtkWidget *fileinfopopup_win, Tuple *tuple); | |
552 void (*fileinfopopup_show_from_title)(GtkWidget *fileinfopopup_win, gchar *title); | |
553 void (*fileinfopopup_hide)(GtkWidget *filepopup_win, gpointer unused); | |
547 }; | 554 }; |
548 | 555 |
549 /* Convenience macros for accessing the public API. */ | 556 /* Convenience macros for accessing the public API. */ |
550 /* public name vtable mapping */ | 557 /* public name vtable mapping */ |
551 #define aud_vfs_fopen _audvt->vfs_fopen | 558 #define aud_vfs_fopen _audvt->vfs_fopen |
846 #define aud_formatter_format _audvt->formatter_format | 853 #define aud_formatter_format _audvt->formatter_format |
847 | 854 |
848 #define aud_prefswin_page_new _audvt->prefswin_page_new | 855 #define aud_prefswin_page_new _audvt->prefswin_page_new |
849 #define aud_prefswin_page_destroy _audvt->prefswin_page_destroy | 856 #define aud_prefswin_page_destroy _audvt->prefswin_page_destroy |
850 | 857 |
858 #define audacious_fileinfopopup_create _audvt->fileinfopopup_create | |
859 #define audacious_fileinfopopup_destroy _audvt->fileinfopopup_destroy | |
860 #define audacious_fileinfopopup_show_from_tuple _audvt->fileinfopopup_show_from_tuple | |
861 #define audacious_fileinfopopup_show_from_title _audvt->fileinfopopup_show_from_title | |
862 #define audacious_fileinfopopup_hide _audvt->fileinfopopup_hide | |
863 | |
851 #include "audacious/auddrct.h" | 864 #include "audacious/auddrct.h" |
852 | 865 |
853 /* for multi-file plugins :( */ | 866 /* for multi-file plugins :( */ |
854 extern struct _AudaciousFuncTableV1 *_audvt; | 867 extern struct _AudaciousFuncTableV1 *_audvt; |
855 | 868 |