comparison src/module.c @ 2440:8306c042bac7

[gaim-migrate @ 2453] can load plugins. won't get any indication of it though. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sat, 06 Oct 2001 02:25:46 +0000
parents e5f76dc2c8d1
children 2c2c1f717616
comparison
equal deleted inserted replaced
2439:932adc1ac9ed 2440:8306c042bac7
522 g_free(p); 522 g_free(p);
523 c = c->next; 523 c = c->next;
524 } 524 }
525 } 525 }
526 #endif 526 #endif
527
528 void plugin_handler(struct UI *ui, guchar subtype, guchar *data)
529 {
530 switch (subtype) {
531 /*
532 case CUI_PLUGIN_LIST:
533 break;
534 */
535 case CUI_PLUGIN_LOAD:
536 load_plugin(data);
537 /* XXX need to broadcast to UIs that plugin has been loaded */
538 break;
539 /*
540 case CUI_PLUGIN_UNLOAD:
541 break;
542 case CUI_PLUGIN_RELOAD:
543 break;
544 */
545 default:
546 debug_printf("unhandled plugin subtype: %d\n", subtype);
547 break;
548 }
549 }