doc/sound-signals.dox

Mon, 03 Sep 2007 09:45:56 +0000

author
Mark Doliner <markdoliner@pidgin.im>
date
Mon, 03 Sep 2007 09:45:56 +0000
changeset 19766
3b54c91fb393
parent 16257
66f737e6b718
child 20897
2608e9e07913
permissions
-rw-r--r--

You can't just look at the first letter of the screen name to determine
if it's AIM or ICQ now. It's possible for someone to register their
email address as an AIM account, and you can register "12345imcool@gmail.com"
as an AIM account. If you only look at the first letter then Pidgin
will think it's ICQ.

/** @page sound-signals Sound Signals

 @signals
  @signal playing-sound-event
 @endsignals

 <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 tw=75 et

mercurial