diff src/amidi-plug/i_backend.h @ 437:e1c6b223431e trunk

[svn] - amidiplug: on midi backend init, pass a function that helps the backend to get the location of amidi-plug.conf
author giacomo
date Mon, 15 Jan 2007 13:25:41 -0800
parents 3da1b8942b8b
children 5f892afeb8e1
line wrap: on
line diff
--- a/src/amidi-plug/i_backend.h	Mon Jan 15 12:46:38 2007 -0800
+++ b/src/amidi-plug/i_backend.h	Mon Jan 15 13:25:41 2007 -0800
@@ -23,6 +23,7 @@
 
 #include <gmodule.h>
 #include "i_midievent.h"
+#include "i_configure_file.h"
 #include "i_common.h"
 
 
@@ -42,7 +43,7 @@
   gint id;
   GModule * gmodule;
   gchar * name;
-  gint (*init)( void );
+  gint (*init)( i_cfg_get_file_cb );
   gint (*cleanup)( void );
   gint (*audio_info_get)( gint * , gint * , gint * );
   gint (*audio_volume_get)( gint * , gint * );