view doc/cmd-signals.dox @ 27278:c0f1ae3e16e0

Use the active-id the message was sent to when sending the ack. Yahoo allows you to have multiple 'id'/'profile's associated with the same account. If a message is sent to the currently non-active id, then we need to use that id when sending the ack. Otherwise we end up getting the message replayed to us in seven seconds.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Sat, 27 Jun 2009 22:43:45 +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
*/