comparison libpurple/plugin.h @ 29277:b98519a42e53

propagate from branch 'im.pidgin.pidgin' (head 431618de0f30a6938f7e14d2d61ee5d7738acd59) to branch 'im.pidgin.cpw.attention_ui' (head 152f22112dfd920caedfff2893c8ffd449c1083c)
author Marcus Lundblad <ml@update.uu.se>
date Mon, 02 Mar 2009 22:07:59 +0000
parents 4b8c4870b13a
children 0c796a1950b7
comparison
equal deleted inserted replaced
29276:a0668fbf2483 29277:b98519a42e53
186 PurplePlugin *plugin; 186 PurplePlugin *plugin;
187 187
188 /** NULL for plugin actions menu, set to the PurpleConnection for 188 /** NULL for plugin actions menu, set to the PurpleConnection for
189 account actions menu */ 189 account actions menu */
190 gpointer context; 190 gpointer context;
191 191
192 gpointer user_data; 192 gpointer user_data;
193 }; 193 };
194 194
195 #define PURPLE_PLUGIN_HAS_ACTIONS(plugin) \ 195 #define PURPLE_PLUGIN_HAS_ACTIONS(plugin) \
196 ((plugin)->info != NULL && (plugin)->info->actions != NULL) 196 ((plugin)->info != NULL && (plugin)->info->actions != NULL)
361 361
362 /** 362 /**
363 * Returns a plugin's name. 363 * Returns a plugin's name.
364 * 364 *
365 * @param plugin The plugin. 365 * @param plugin The plugin.
366 * 366 *
367 * @return THe name of the plugin, or @c NULL. 367 * @return THe name of the plugin, or @c NULL.
368 */ 368 */
369 const gchar *purple_plugin_get_name(const PurplePlugin *plugin); 369 const gchar *purple_plugin_get_name(const PurplePlugin *plugin);
370 370
371 /** 371 /**