view doc/cmd-signals.dox @ 24494:3667342896ce

merge of '2f409bcdde5ebbb1edf097aeb4b4366d7c71518d' and '52e5d841d66390cfc5a59e356e2a53b2e2b9df8a'
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 23 Nov 2008 07:31:20 +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
*/