diff src/audacious/input.h @ 2436:f346d30bf5ab trunk

[svn] Change the input plugin API to use a struct for the currently-playing file.
author iabervon
date Sun, 28 Jan 2007 17:02:15 -0800
parents 3149d4b1a9a9
children b3ca1bfcae6c
line wrap: on
line diff
--- a/src/audacious/input.h	Sun Jan 28 12:15:08 2007 -0800
+++ b/src/audacious/input.h	Sun Jan 28 17:02:15 2007 -0800
@@ -30,7 +30,7 @@
 
 struct _InputPluginData {
     GList *input_list;
-    InputPlugin *current_input_plugin;
+    InputPlayback *current_input_playback;
     gboolean playing;
     gboolean paused;
     gboolean stop;
@@ -39,8 +39,9 @@
 };
 
 GList *get_input_list(void);
-InputPlugin *get_current_input_plugin(void);
-void set_current_input_plugin(InputPlugin * ip);
+InputPlayback *get_current_input_playback(void);
+void set_current_input_playback(InputPlayback * ip);
+void set_current_input_data(void * data);
 InputVisType input_get_vis_type();
 void free_vis_data(void);
 InputPlugin *input_check_file(const gchar * filename, gboolean show_warning);