view doc/cmd-signals.dox @ 26771:8a77e6cd7eac

merge of 'ac3524a1092f2874db1b7f443cd91144bbd8a3a4' and 'bcb04d16f3ca4e36afd84bde4ebe44396dc6c2b3'
author Paul Aurich <paul@darkrain42.org>
date Sun, 26 Apr 2009 02:18:03 +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
*/