view doc/cmd-signals.dox @ 29480:e2c8fe39a2f1

propagate from branch 'im.pidgin.pidgin' (head 458e696572314f8fd2d259d40713ad955dd82581) to branch 'im.pidgin.pidgin.next.minor' (head 869b7c49cec24db5a508b838839d20cb497c47ab)
author John Bailey <rekkanoryo@rekkanoryo.org>
date Sun, 23 Aug 2009 02:37:12 +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
*/