comparison libpurple/plugin.h @ 26737:50f292353414

propagate from branch 'im.pidgin.pidgin' (head 6a70c2c1325aeb644bff8476f94c5a25f83044fb) to branch 'im.pidgin.cpw.malu.xmpp.idle' (head 09b1d0545b346f68736e81a222dd6e1858a5ec15)
author Marcus Lundblad <ml@update.uu.se>
date Wed, 22 Apr 2009 07:55:03 +0000
parents 7b7f0856fb2c
children 19cbe3af6167 01f1929d0936
comparison
equal deleted inserted replaced
26669:925a5a7605b6 26737:50f292353414
103 void (*destroy)(PurplePlugin *plugin); 103 void (*destroy)(PurplePlugin *plugin);
104 104
105 void *ui_info; /**< Used only by UI-specific plugins to build a preference screen with a custom UI */ 105 void *ui_info; /**< Used only by UI-specific plugins to build a preference screen with a custom UI */
106 void *extra_info; 106 void *extra_info;
107 PurplePluginUiInfo *prefs_info; /**< Used by any plugin to display preferences. If #ui_info has been specified, this will be ignored. */ 107 PurplePluginUiInfo *prefs_info; /**< Used by any plugin to display preferences. If #ui_info has been specified, this will be ignored. */
108
109 /**
110 * This callback has a different use depending on whether this
111 * plugin type is PURPLE_PLUGIN_STANDARD or PURPLE_PLUGIN_PROTOCOL.
112 *
113 * If PURPLE_PLUGIN_STANDARD then the list of actions will show up
114 * in the Tools menu, under a submenu with the name of the plugin.
115 * context will be NULL.
116 *
117 * If PURPLE_PLUGIN_PROTOCOL then the list of actions will show up
118 * in the Accounts menu, under a submenu with the name of the
119 * account. context will be set to the PurpleConnection for that
120 * account. This callback will only be called for online accounts.
121 */
108 GList *(*actions)(PurplePlugin *plugin, gpointer context); 122 GList *(*actions)(PurplePlugin *plugin, gpointer context);
109 123
110 void (*_purple_reserved1)(void); 124 void (*_purple_reserved1)(void);
111 void (*_purple_reserved2)(void); 125 void (*_purple_reserved2)(void);
112 void (*_purple_reserved3)(void); 126 void (*_purple_reserved3)(void);