Mercurial > audlegacy
comparison src/audacious/plugin.h @ 3759:9e54690956a0
finalised the API, I think.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 14 Oct 2007 21:37:31 -0500 |
parents | 21b45219249f |
children | 8fdaccee8312 |
comparison
equal
deleted
inserted
replaced
3758:21b45219249f | 3759:9e54690956a0 |
---|---|
553 void (*fileinfopopup_show_from_title)(GtkWidget *fileinfopopup_win, gchar *title); | 553 void (*fileinfopopup_show_from_title)(GtkWidget *fileinfopopup_win, gchar *title); |
554 void (*fileinfopopup_hide)(GtkWidget *filepopup_win, gpointer unused); | 554 void (*fileinfopopup_hide)(GtkWidget *filepopup_win, gpointer unused); |
555 | 555 |
556 /* Probe */ | 556 /* Probe */ |
557 ProbeResult *(*input_check_file)(const gchar * filename, gboolean show_warning); | 557 ProbeResult *(*input_check_file)(const gchar * filename, gboolean show_warning); |
558 | |
559 /* InputPlayback */ | |
560 InputPlayback *(*playback_new)(void); | |
561 void (*playback_run)(InputPlayback *); | |
558 }; | 562 }; |
559 | 563 |
560 /* Convenience macros for accessing the public API. */ | 564 /* Convenience macros for accessing the public API. */ |
561 /* public name vtable mapping */ | 565 /* public name vtable mapping */ |
562 #define aud_vfs_fopen _audvt->vfs_fopen | 566 #define aud_vfs_fopen _audvt->vfs_fopen |
867 | 871 |
868 #define audacious_get_localdir _audvt->util_get_localdir | 872 #define audacious_get_localdir _audvt->util_get_localdir |
869 | 873 |
870 #define aud_input_check_file _audvt->input_check_file | 874 #define aud_input_check_file _audvt->input_check_file |
871 | 875 |
876 #define aud_playback_new _audvt->playback_new | |
877 #define aud_playback_run _audvt->playback_run | |
878 #define aud_playback_free(x) g_slice_free(InputPlayback, (x)) | |
879 | |
872 #include "audacious/auddrct.h" | 880 #include "audacious/auddrct.h" |
873 | 881 |
874 /* for multi-file plugins :( */ | 882 /* for multi-file plugins :( */ |
875 extern struct _AudaciousFuncTableV1 *_audvt; | 883 extern struct _AudaciousFuncTableV1 *_audvt; |
876 | 884 |