diff src/module.c @ 2443:7f2432a87376

[gaim-migrate @ 2456] it can send ims. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 06 Oct 2001 04:37:34 +0000
parents 2c2c1f717616
children 0be6fadaa64f
line wrap: on
line diff
--- a/src/module.c	Sat Oct 06 04:05:53 2001 +0000
+++ b/src/module.c	Sat Oct 06 04:37:34 2001 +0000
@@ -524,39 +524,3 @@
 	}
 }
 #endif
-
-void plugin_handler(struct UI *ui, guchar subtype, guchar *data)
-{
-	guint id;
-	struct gaim_plugin *p;
-
-	switch (subtype) {
-		/*
-	case CUI_PLUGIN_LIST:
-		break;
-		*/
-	case CUI_PLUGIN_LOAD:
-		p = load_plugin(data);
-		/* XXX need to broadcast to UIs that plugin has been loaded */
-		break;
-	case CUI_PLUGIN_UNLOAD:
-		memcpy(&id, data, sizeof(id));
-		p = g_list_nth_data(plugins, id);
-		if (p) {
-			unload_plugin(p);
-			/* XXX need to broadcast to UIs that plugin has been unloaded */
-		}
-		break;
-	case CUI_PLUGIN_RELOAD:
-		memcpy(&id, data, sizeof(id));
-		p = g_list_nth_data(plugins, id);
-		if (p) {
-			p = reload_plugin(p);
-			/* XXX need to broadcast to UIs that plugin has been reloaded */
-		}
-		break;
-	default:
-		debug_printf("unhandled plugin subtype %d\n", subtype);
-		break;
-	}
-}