Mercurial > pidgin.yaz
changeset 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 | a06ddc1513e2 |
children | 34de8ef19294 |
files | libpurple/plugin.h |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugin.h Sat Oct 06 22:46:57 2007 +0000 +++ b/libpurple/plugin.h Sat Oct 06 22:47:38 2007 +0000 @@ -531,6 +531,7 @@ * * @param func The callback function. * @param data Data to pass to the callback. + * @deprecated If you need this, ask for a plugin-probe signal to be added. */ void purple_plugins_register_probe_notify_cb(void (*func)(void *), void *data); @@ -538,6 +539,7 @@ * Unregisters a function that would be called when probing is finished. * * @param func The callback function. + * @deprecated If you need this, ask for a plugin-probe signal to be added. */ void purple_plugins_unregister_probe_notify_cb(void (*func)(void *)); @@ -546,6 +548,7 @@ * * @param func The callback function. * @param data Data to pass to the callback. + * @deprecated Use the plugin-load signal instead. */ void purple_plugins_register_load_notify_cb(void (*func)(PurplePlugin *, void *), void *data); @@ -554,6 +557,7 @@ * Unregisters a function that would be called when a plugin is loaded. * * @param func The callback function. + * @deprecated Use the plugin-load signal instead. */ void purple_plugins_unregister_load_notify_cb(void (*func)(PurplePlugin *, void *)); @@ -562,6 +566,7 @@ * * @param func The callback function. * @param data Data to pass to the callback. + * @deprecated Use the plugin-unload signal instead. */ void purple_plugins_register_unload_notify_cb(void (*func)(PurplePlugin *, void *), void *data); @@ -570,6 +575,7 @@ * Unregisters a function that would be called when a plugin is unloaded. * * @param func The callback function. + * @deprecated Use the plugin-unload signal instead. */ void purple_plugins_unregister_unload_notify_cb(void (*func)(PurplePlugin *, void *));