view doc/cmd-signals.dox @ 24929:d5ab2f9485f2

merge of '9d07d82a935ade0bf3a9a387a0c8998d552c7be9' and 'dd58d6e08f6bf88e8bdd13e3c8d0b73cc73bbab3'
author Daniel Atallah <daniel.atallah@gmail.com>
date Fri, 09 Jan 2009 03:56:09 +0000
parents 1ca49b349037
children
line wrap: on
line source

/** @page cmd-signals Command Signals
  @signals
  	@signal cmd-added
	@signal cmd-removed
  @endsignals

  @see cmds.h

  @signaldef cmd-added
  	@signalproto
void (*cmd_added)(const char *command, PurpleCmdPriority priority,
                  PurpleCmdFlag flag);
	@endsignalproto
	@signaldesc
	 Emitted when a new command is added.
	@param command   The new command.
	@param priority  The priority of the new command.
	@param flag      The command flags.
  @endsignaldef

  @signaldef cmd-removed
  	@signalproto
void (*cmd_removed)(const char *command);
	@endsignalproto
	@signaldesc
	 Emitted when a command is removed.
	@param command   The removed command.
  @endsignaldef
*/