Mercurial > audlegacy
comparison src/audacious/plugin.h @ 3298:f985357757e0 trunk
audacious-core: convert to tuple-ng, remove titlestring API.
| author | William Pitcock <nenolod@atheme-project.org> |
|---|---|
| date | Fri, 10 Aug 2007 05:22:35 -0500 |
| parents | 6600abe94a3f |
| children | d4f6507cded3 3e9bc5fd5c36 |
comparison
equal
deleted
inserted
replaced
| 3297:575f59c45eaf | 3298:f985357757e0 |
|---|---|
| 34 | 34 |
| 35 #ifndef BMP_PLUGIN_H | 35 #ifndef BMP_PLUGIN_H |
| 36 #define BMP_PLUGIN_H | 36 #define BMP_PLUGIN_H |
| 37 | 37 |
| 38 #include <glib.h> | 38 #include <glib.h> |
| 39 #include <gtk/gtk.h> | |
| 39 #include "audacious/vfs.h" | 40 #include "audacious/vfs.h" |
| 40 #include "audacious/titlestring.h" | 41 #include "audacious/tuple.h" |
| 42 #include "audacious/tuple_formatter.h" | |
| 41 #include "audacious/eventqueue.h" | 43 #include "audacious/eventqueue.h" |
| 42 | 44 |
| 43 #define PLUGIN(x) ((Plugin *)(x)) | 45 #define PLUGIN(x) ((Plugin *)(x)) |
| 44 #define INPUT_PLUGIN(x) ((InputPlugin *)(x)) | 46 #define INPUT_PLUGIN(x) ((InputPlugin *)(x)) |
| 45 #define OUTPUT_PLUGIN(x) ((OutputPlugin *)(x)) | 47 #define OUTPUT_PLUGIN(x) ((OutputPlugin *)(x)) |
| 250 void (*file_info_box) (gchar * filename); | 252 void (*file_info_box) (gchar * filename); |
| 251 | 253 |
| 252 OutputPlugin *output; /* deprecated */ | 254 OutputPlugin *output; /* deprecated */ |
| 253 | 255 |
| 254 /* Added in Audacious 1.1.0 */ | 256 /* Added in Audacious 1.1.0 */ |
| 255 TitleInput *(*get_song_tuple) (gchar * filename); | 257 Tuple *(*get_song_tuple) (gchar * filename); |
| 256 void (*set_song_tuple) (TitleInput * tuple); | 258 void (*set_song_tuple) (Tuple * tuple); |
| 257 void (*set_status_buffering) (gboolean status); | 259 void (*set_status_buffering) (gboolean status); |
| 258 | 260 |
| 259 /* Added in Audacious 1.3.0 */ | 261 /* Added in Audacious 1.3.0 */ |
| 260 gint (*is_our_file_from_vfs) (gchar *filename, VFSFile *fd); | 262 gint (*is_our_file_from_vfs) (gchar *filename, VFSFile *fd); |
| 261 gchar **vfs_extensions; | 263 gchar **vfs_extensions; |
| 262 | 264 |
| 263 /* Added in Audacious 1.4.0 */ | 265 /* Added in Audacious 1.4.0 */ |
| 264 void (*mseek) (InputPlayback * playback, gulong millisecond); | 266 void (*mseek) (InputPlayback * playback, gulong millisecond); |
| 265 TitleInput *(*probe_for_tuple)(gchar *uri, VFSFile *fd); | 267 Tuple *(*probe_for_tuple)(gchar *uri, VFSFile *fd); |
| 266 }; | 268 }; |
| 267 | 269 |
| 268 struct _GeneralPlugin { | 270 struct _GeneralPlugin { |
| 269 gpointer handle; | 271 gpointer handle; |
| 270 gchar *filename; | 272 gchar *filename; |
