view doc/cmd-signals.dox @ 28522:5e554e9296ac

merge of '193869c7b6c12d13ccb96d731ceb8fe5f3a82f2d' and 'ea05c841d86670f2d6d02024b5dd61d126f18b39'
author Elliott Sales de Andrade <qulogic@pidgin.im>
date Tue, 01 Sep 2009 00:34:39 +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
*/