src/plugin.h

changeset 13107
704041197f4d
parent 12986
e703bae82e26
child 13167
d5426d234c20
--- a/src/plugin.h	Thu Feb 02 20:03:17 2006 +0000
+++ b/src/plugin.h	Thu Feb 02 21:34:43 2006 +0000
@@ -627,8 +627,18 @@
 
 /**
  * Allocates and returns a new GaimPluginAction.
+ *
+ * @param label    The description of the action to show to the user.
+ * @param callback The callback to call when the user selects this action.
  */
-GaimPluginAction *gaim_plugin_action_new(char* label, void (*callback)(GaimPluginAction *));
+GaimPluginAction *gaim_plugin_action_new(const char* label, void (*callback)(GaimPluginAction *));
+
+/**
+ * Frees a GaimPluginAction
+ *
+ * @param action The GaimPluginAction to free.
+ */
+void gaim_plugin_action_free(GaimPluginAction *action);
 
 #ifdef __cplusplus
 }

mercurial