comparison libpurple/plugin.h @ 21189:d05f79920d50

Deprecate the purple_plugins_register_* and purple_plugins_unregister_* functions. We have plugin-load and plugin-unload signals.
author Richard Laager <rlaager@wiktel.com>
date Sat, 06 Oct 2007 22:47:38 +0000
parents 6bf32c9e15a7
children 34de8ef19294
comparison
equal deleted inserted replaced
21188:a06ddc1513e2 21189:d05f79920d50
529 /** 529 /**
530 * Registers a function that will be called when probing is finished. 530 * Registers a function that will be called when probing is finished.
531 * 531 *
532 * @param func The callback function. 532 * @param func The callback function.
533 * @param data Data to pass to the callback. 533 * @param data Data to pass to the callback.
534 * @deprecated If you need this, ask for a plugin-probe signal to be added.
534 */ 535 */
535 void purple_plugins_register_probe_notify_cb(void (*func)(void *), void *data); 536 void purple_plugins_register_probe_notify_cb(void (*func)(void *), void *data);
536 537
537 /** 538 /**
538 * Unregisters a function that would be called when probing is finished. 539 * Unregisters a function that would be called when probing is finished.
539 * 540 *
540 * @param func The callback function. 541 * @param func The callback function.
542 * @deprecated If you need this, ask for a plugin-probe signal to be added.
541 */ 543 */
542 void purple_plugins_unregister_probe_notify_cb(void (*func)(void *)); 544 void purple_plugins_unregister_probe_notify_cb(void (*func)(void *));
543 545
544 /** 546 /**
545 * Registers a function that will be called when a plugin is loaded. 547 * Registers a function that will be called when a plugin is loaded.
546 * 548 *
547 * @param func The callback function. 549 * @param func The callback function.
548 * @param data Data to pass to the callback. 550 * @param data Data to pass to the callback.
551 * @deprecated Use the plugin-load signal instead.
549 */ 552 */
550 void purple_plugins_register_load_notify_cb(void (*func)(PurplePlugin *, void *), 553 void purple_plugins_register_load_notify_cb(void (*func)(PurplePlugin *, void *),
551 void *data); 554 void *data);
552 555
553 /** 556 /**
554 * Unregisters a function that would be called when a plugin is loaded. 557 * Unregisters a function that would be called when a plugin is loaded.
555 * 558 *
556 * @param func The callback function. 559 * @param func The callback function.
560 * @deprecated Use the plugin-load signal instead.
557 */ 561 */
558 void purple_plugins_unregister_load_notify_cb(void (*func)(PurplePlugin *, void *)); 562 void purple_plugins_unregister_load_notify_cb(void (*func)(PurplePlugin *, void *));
559 563
560 /** 564 /**
561 * Registers a function that will be called when a plugin is unloaded. 565 * Registers a function that will be called when a plugin is unloaded.
562 * 566 *
563 * @param func The callback function. 567 * @param func The callback function.
564 * @param data Data to pass to the callback. 568 * @param data Data to pass to the callback.
569 * @deprecated Use the plugin-unload signal instead.
565 */ 570 */
566 void purple_plugins_register_unload_notify_cb(void (*func)(PurplePlugin *, void *), 571 void purple_plugins_register_unload_notify_cb(void (*func)(PurplePlugin *, void *),
567 void *data); 572 void *data);
568 573
569 /** 574 /**
570 * Unregisters a function that would be called when a plugin is unloaded. 575 * Unregisters a function that would be called when a plugin is unloaded.
571 * 576 *
572 * @param func The callback function. 577 * @param func The callback function.
578 * @deprecated Use the plugin-unload signal instead.
573 */ 579 */
574 void purple_plugins_unregister_unload_notify_cb(void (*func)(PurplePlugin *, 580 void purple_plugins_unregister_unload_notify_cb(void (*func)(PurplePlugin *,
575 void *)); 581 void *));
576 582
577 /** 583 /**