view doc/cmd-signals.dox @ 26116:cb3c6ec9291e

merge of '6034e4df300b7da5e8fc3095e128f6215af903ab' and '6f6a810b0411a1e2b7a1bba79dae2b02ea200d19'
author Mike Ruprecht <maiku@soc.pidgin.im>
date Sat, 21 Feb 2009 05:15:28 +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
*/