view doc/cmd-signals.dox @ 28366:2aabf39b5581

merge of 'e8e119ae079526a36af0f2ac20e7a9c9900f44c1' and 'fd4c0f3ddcd7c122d22e7fb569ff904e79df6ffb'
author Mark Doliner <mark@kingant.net>
date Thu, 20 Aug 2009 01:12:06 +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
*/