view doc/cmd-signals.dox @ 26806:e07c066b3172

don't uninit accounts until savedstatus and status are uninited, this was never a problem until aff70668336849d4b1513fd8577f4d2a276d2520 which cleaned up accounts (which is itself a good thing) but savedstatus was using the uninitialized accounts (which is a bad thing) mtn using people probably want to check their status.xml for corrupted entries
author Ka-Hing Cheung <khc@hxbc.us>
date Tue, 28 Apr 2009 19:10:04 +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
*/