comparison src/plugin.h @ 6486:fab81e4b885c

[gaim-migrate @ 7000] Added support for plugin dependencis. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 18 Aug 2003 01:37:17 +0000
parents 70d5122bc3ff
children 41120df7ed94
comparison
equal deleted inserted replaced
6485:70d5122bc3ff 6486:fab81e4b885c
44 } GaimPluginType; 44 } GaimPluginType;
45 45
46 #define GAIM_PRIORITY_DEFAULT 0 46 #define GAIM_PRIORITY_DEFAULT 0
47 #define GAIM_PRIORITY_HIGHEST 9999 47 #define GAIM_PRIORITY_HIGHEST 9999
48 #define GAIM_PRIORITY_LOWEST -9999 48 #define GAIM_PRIORITY_LOWEST -9999
49
50 #define GAIM_PLUGIN_ID_UNSET { 0, 0, 0, 0 }
51 49
52 /** 50 /**
53 * Detailed information about a plugin. 51 * Detailed information about a plugin.
54 * 52 *
55 * This is used in the version 2.0 API and up. 53 * This is used in the version 2.0 API and up.
198 196
199 /** 197 /**
200 * Reloads a plugin. 198 * Reloads a plugin.
201 * 199 *
202 * @param plugin The old plugin handle. 200 * @param plugin The old plugin handle.
203 * 201 *
204 * @return @c TRUE if successful, or @c FALSE otherwise. 202 * @return @c TRUE if successful, or @c FALSE otherwise.
205 * 203 *
206 * @see gaim_plugin_load() 204 * @see gaim_plugin_load()
207 * @see gaim_plugin_unload() 205 * @see gaim_plugin_unload()
208 */ 206 */
242 /** 240 /**
243 * Unloads all loaded plugins. 241 * Unloads all loaded plugins.
244 */ 242 */
245 void gaim_plugins_unload_all(void); 243 void gaim_plugins_unload_all(void);
246 244
247
248 /** 245 /**
249 * Destroys all registered plugins. 246 * Destroys all registered plugins.
250 */ 247 */
251 void gaim_plugins_destroy_all(void); 248 void gaim_plugins_destroy_all(void);
252 249