view doc/cmd-signals.dox @ 25126:78b43f9c741b

propagate from branch 'im.pidgin.pidgin' (head 038d9d36d640ed83f9df5333d57dc0cd8b9ae847) to branch 'im.pidgin.soc.2008.themes' (head b49d95f44169eb347061907f1842d56d9c3c826c)
author Gary Kramlich <grim@reaperworld.com>
date Thu, 21 Aug 2008 03:44:57 +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
*/