view doc/cmd-signals.dox @ 25117:c1f85543556d

merge of 'afc2bc7354c9b7ddb6cb80de073d5ae620fe94a5' and 'b79100551ea19cf35ee8952a34a44b97204e75f3'
author Etan Reisner <pidgin@unreliablesource.net>
date Thu, 12 Feb 2009 06:06:40 +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
*/