view doc/sound-signals.dox @ 22385:f332db29a854

Fixes a memleak: ==17163== 7 bytes in 1 blocks are definitely lost in loss record 7 of 214 ==17163== at 0x4006A6E: malloc (vg_replace_malloc.c:207) ==17163== by 0xA1CAF5: g_malloc (in /lib/libglib-2.0.so.0.1400.6) ==17163== by 0xA35348: g_strdup (in /lib/libglib-2.0.so.0.1400.6) ==17163== by 0xA35BF9: g_strsplit (in /lib/libglib-2.0.so.0.1400.6) ==17163== by 0x52D5DF2: irc_cmd_op (cmds.c:290) committer: Ka-Hing Cheung <khc@hxbc.us>
author Andrew Gaul <andrew@gaul.org>
date Fri, 29 Feb 2008 07:55:20 +0000
parents e0613cf8c493
children
line wrap: on
line source

/** @page sound-signals Sound Signals

 @signals
  @signal playing-sound-event
 @endsignals

 @see sound.h

 <hr>

 @signaldef playing-sound-event
  @signalproto
gboolean (*playing_sound_event)(PurpleSoundEventID event, PurpleAccount *account);
  @endsignalproto
  @signaldesc
   Emitted when libpurple is going to play a sound event. This can be used to cancel playing sound by returning TRUE.
  @param event   The event this sound represents.
  @param account The account the sound is being played for.
  @return @c TRUE if the sound should not be played, or @c FALSE otherwise.
 @endsignaldef

 */
// vim: syntax=c.doxygen tw=75 et