Mercurial > pidgin
comparison src/plugin.h @ 8814:c61be128dff3
[gaim-migrate @ 9576]
Gary Kramlich says this fixes bugs in code he wrote, so I don't need
to mention his name. I think he's just trying to pretend his code
didn't have bugs. I'm citing him anyway.
committer: Tailor Script <tailor@pidgin.im>
| author | Ethan Blanton <elb@pidgin.im> |
|---|---|
| date | Mon, 26 Apr 2004 15:46:12 +0000 |
| parents | d7b8eb1f0a18 |
| children | 8cf32769ba1b |
comparison
equal
deleted
inserted
replaced
| 8813:610bf83cbd93 | 8814:c61be128dff3 |
|---|---|
| 85 gboolean (*unload)(GaimPlugin *plugin); | 85 gboolean (*unload)(GaimPlugin *plugin); |
| 86 void (*destroy)(GaimPlugin *plugin); | 86 void (*destroy)(GaimPlugin *plugin); |
| 87 | 87 |
| 88 void *ui_info; | 88 void *ui_info; |
| 89 void *extra_info; | 89 void *extra_info; |
| 90 void *prefs_info; | 90 GaimPluginUiInfo *prefs_info; |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 /** | 93 /** |
| 94 * Extra information for loader plugins. | 94 * Extra information for loader plugins. |
| 95 */ | 95 */ |
| 125 | 125 |
| 126 struct _GaimPluginUiInfo { | 126 struct _GaimPluginUiInfo { |
| 127 GaimPluginPrefFrame *(*get_plugin_pref_frame)(GaimPlugin *plugin); | 127 GaimPluginPrefFrame *(*get_plugin_pref_frame)(GaimPlugin *plugin); |
| 128 | 128 |
| 129 void *iter; /**< Reserved */ | 129 void *iter; /**< Reserved */ |
| 130 GaimPluginPrefFrame *frame; /**< Reserved */ | |
| 130 }; | 131 }; |
| 131 | 132 |
| 132 #define GAIM_PLUGIN_HAS_PREF_FRAME(plugin) \ | 133 #define GAIM_PLUGIN_HAS_PREF_FRAME(plugin) \ |
| 133 ((plugin)->info != NULL && (plugin)->info->prefs_info != NULL) | 134 ((plugin)->info != NULL && (plugin)->info->prefs_info != NULL) |
| 134 | 135 |
