changeset 2798:7144a4e5e978 trunk

[svn] - temporarily work around plugin API v1 retardation
author nenolod
date Thu, 24 May 2007 03:37:54 -0700
parents f0c1c8b22c88
children febdfe7a482b
files ChangeLog src/audacious/build_stamp.c src/audacious/pluginenum.c
diffstat 3 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu May 24 03:27:54 2007 -0700
+++ b/ChangeLog	Thu May 24 03:37:54 2007 -0700
@@ -1,3 +1,12 @@
+2007-05-24 10:27:54 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [4620]
+  - first attempt at an plugin API2 loader. this is entirely implemented inside the plugin2 namespace, so please respect that if you go editing this ;p
+  
+  trunk/src/audacious/plugin.h     |    1 
+  trunk/src/audacious/pluginenum.c |  128 +++++++++++++++++++++++++++++++++++++--
+  2 files changed, 123 insertions(+), 6 deletions(-)
+
+
 2007-05-24 09:03:17 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [4618]
   - add functions for defining the v2 plugin header
--- a/src/audacious/build_stamp.c	Thu May 24 03:27:54 2007 -0700
+++ b/src/audacious/build_stamp.c	Thu May 24 03:37:54 2007 -0700
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070524-4618";
+const gchar *svn_stamp = "20070524-4620";
--- a/src/audacious/pluginenum.c	Thu May 24 03:27:54 2007 -0700
+++ b/src/audacious/pluginenum.c	Thu May 24 03:37:54 2007 -0700
@@ -231,6 +231,7 @@
 
     for (ip_iter = header->ip_list; *ip_iter != NULL; ip_iter++)
     {
+        PLUGIN(*ip_iter)->filename = g_strdup(filename);
         g_print("plugin2 '%s' provides InputPlugin <%p>", filename, *ip_iter);
         input_plugin_init(PLUGIN(*ip_iter));
     }