Mercurial > pidgin.yaz
comparison src/plugin.h @ 10447:6feef0a9098a
[gaim-migrate @ 11712]
A few minor improvements and some documentation updates.
Conscious evolution in the back of your mind...
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Wed, 29 Dec 2004 21:53:59 +0000 |
| parents | fae50349fd42 |
| children | 6a20307ef8dc |
comparison
equal
deleted
inserted
replaced
| 10446:904d03bfccce | 10447:6feef0a9098a |
|---|---|
| 222 | 222 |
| 223 /** | 223 /** |
| 224 * Registers a plugin and prepares it for loading. | 224 * Registers a plugin and prepares it for loading. |
| 225 * | 225 * |
| 226 * This shouldn't be called by anything but the internal module code. | 226 * This shouldn't be called by anything but the internal module code. |
| 227 * Plugins should use the GAIM_INIT_PLUGIN() macro to register themselves | |
| 228 * with the core. | |
| 227 * | 229 * |
| 228 * @param plugin The plugin to register. | 230 * @param plugin The plugin to register. |
| 231 * | |
| 232 * @return @c TRUE if the plugin was registered successfully. Otherwise | |
| 233 * @c FALSE is returned (this happens if the plugin does not contain | |
| 234 * the necessary information). | |
| 229 */ | 235 */ |
| 230 gboolean gaim_plugin_register(GaimPlugin *plugin); | 236 gboolean gaim_plugin_register(GaimPlugin *plugin); |
| 231 | 237 |
| 232 /** | 238 /** |
| 233 * Attempts to load a previously probed plugin. | 239 * Attempts to load a previously probed plugin. |
| 357 /** @name Plugins API */ | 363 /** @name Plugins API */ |
| 358 /**************************************************************************/ | 364 /**************************************************************************/ |
| 359 /*@{*/ | 365 /*@{*/ |
| 360 | 366 |
| 361 /** | 367 /** |
| 362 * Sets the search paths for plugins. | 368 * Add a new directory to search for plugins |
| 363 * | 369 * |
| 364 * @param count The number of search paths. | 370 * @param paths The new search path. |
| 365 * @param paths The search paths. | 371 */ |
| 366 */ | 372 void gaim_plugins_add_search_path(const char *path); |
| 367 void gaim_plugins_set_search_paths(size_t count, char **paths); | |
| 368 | 373 |
| 369 /** | 374 /** |
| 370 * Unloads all loaded plugins. | 375 * Unloads all loaded plugins. |
| 371 */ | 376 */ |
| 372 void gaim_plugins_unload_all(void); | 377 void gaim_plugins_unload_all(void); |
