libpurple/plugin.h

branch
next.minor
changeset 25888
d0fdd378a635
parent 24569
5dbd0617a27d
child 25911
f22097dc8413
equal deleted inserted replaced
25887:6eac2f6c32e2 25888:d0fdd378a635
181 PurplePlugin *plugin; 181 PurplePlugin *plugin;
182 182
183 /** NULL for plugin actions menu, set to the PurpleConnection for 183 /** NULL for plugin actions menu, set to the PurpleConnection for
184 account actions menu */ 184 account actions menu */
185 gpointer context; 185 gpointer context;
186 186
187 gpointer user_data; 187 gpointer user_data;
188 }; 188 };
189 189
190 #define PURPLE_PLUGIN_HAS_ACTIONS(plugin) \ 190 #define PURPLE_PLUGIN_HAS_ACTIONS(plugin) \
191 ((plugin)->info != NULL && (plugin)->info->actions != NULL) 191 ((plugin)->info != NULL && (plugin)->info->actions != NULL)
356 356
357 /** 357 /**
358 * Returns a plugin's name. 358 * Returns a plugin's name.
359 * 359 *
360 * @param plugin The plugin. 360 * @param plugin The plugin.
361 * 361 *
362 * @return THe name of the plugin, or @c NULL. 362 * @return THe name of the plugin, or @c NULL.
363 */ 363 */
364 const gchar *purple_plugin_get_name(const PurplePlugin *plugin); 364 const gchar *purple_plugin_get_name(const PurplePlugin *plugin);
365 365
366 /** 366 /**

mercurial