Mercurial > pidgin
comparison src/plugin.h @ 12695:0bc110c7ab91
[gaim-migrate @ 15038]
Let's display outdated plugins in the plugins dialog, but grey them out. This way, the user can find out which plugins need to be updated. They will also be able to view the website address so they know where to get a new version.
Inspired by SF Feature Request #1395058 from Daniel Beardsmore (uilleann).
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 03 Jan 2006 12:03:02 +0000 |
parents | fc464a0abccc |
children | 2c4f20ff387c |
comparison
equal
deleted
inserted
replaced
12694:ebed1bbedb04 | 12695:0bc110c7ab91 |
---|---|
123 char *path; /**< The path to the plugin. */ | 123 char *path; /**< The path to the plugin. */ |
124 GaimPluginInfo *info; /**< The plugin information. */ | 124 GaimPluginInfo *info; /**< The plugin information. */ |
125 char *error; | 125 char *error; |
126 void *ipc_data; /**< IPC data. */ | 126 void *ipc_data; /**< IPC data. */ |
127 void *extra; /**< Plugin-specific data. */ | 127 void *extra; /**< Plugin-specific data. */ |
128 gboolean unloadable; /**< Unloadable */ | |
128 }; | 129 }; |
129 | 130 |
130 #define GAIM_PLUGIN_LOADER_INFO(plugin) \ | 131 #define GAIM_PLUGIN_LOADER_INFO(plugin) \ |
131 ((GaimPluginLoaderInfo *)(plugin)->info->extra_info) | 132 ((GaimPluginLoaderInfo *)(plugin)->info->extra_info) |
132 | 133 |
283 /** | 284 /** |
284 * Returns whether or not a plugin is currently loaded. | 285 * Returns whether or not a plugin is currently loaded. |
285 * | 286 * |
286 * @param plugin The plugin. | 287 * @param plugin The plugin. |
287 * | 288 * |
288 * @return TRUE if loaded, or FALSE otherwise. | 289 * @return @c TRUE if loaded, or @c FALSE otherwise. |
289 */ | 290 */ |
290 gboolean gaim_plugin_is_loaded(const GaimPlugin *plugin); | 291 gboolean gaim_plugin_is_loaded(const GaimPlugin *plugin); |
292 | |
293 /** | |
294 * Returns whether or not a plugin is unloadable. | |
295 * | |
296 * If this returns @c TRUE, the plugin is guaranteed to not | |
297 * be loadable. However, a return value of @c FALSE does not | |
298 * guarantee the plugin is loadable. | |
299 * | |
300 * @param plugin The plugin. | |
301 * | |
302 * @return @c TRUE if the plugin is known to be unloadable,\ | |
303 * @c FALSE otherwise | |
304 */ | |
305 gboolean gaim_plugin_is_unloadable(const GaimPlugin *plugin); | |
291 | 306 |
292 /** | 307 /** |
293 * Returns a plugin's id. | 308 * Returns a plugin's id. |
294 * | 309 * |
295 * @param plugin The plugin. | 310 * @param plugin The plugin. |