doc/sound-signals.dox

Wed, 02 Jun 2021 02:59:43 -0500

author
Gary Kramlich <grim@reaperworld.com>
date
Wed, 02 Jun 2021 02:59:43 -0500
branch
release-2.x.y
changeset 40918
40211e37a935
parent 20897
2608e9e07913
permissions
-rw-r--r--

Fix some issues scanbuild found in the silc protocol plugin

Testing Done:
Verified that scanbuild no longer detected the errors.

Reviewed at https://reviews.imfreedom.org/r/712/

/** @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

mercurial