view doc/cmd-signals.dox @ 27072:68d6c6517ef8

propagate from branch 'im.pidgin.pidgin' (head 5c5977a6ed3591121ef82ff587586850b9dcd176) to branch 'im.pidgin.cpw.malu.client_type' (head 23c7390a3117937124b6d8d94ad518772ec83f4d)
author Marcus Lundblad <ml@update.uu.se>
date Sun, 31 May 2009 18:39:19 +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
*/