view doc/cmd-signals.dox @ 32750:cc258d58ee56

merge of 'a6a5be7291d88240cd7a6b7034ac9942d5bfba4b' and 'f1f5a7e9b4ed4a9ffe523909a8a68b49928f2731'
author Mark Doliner <mark@kingant.net>
date Sat, 31 Mar 2012 21:29:04 +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
*/