view doc/notify-signals.dox @ 20475:2a2cc0b57d8f

propagate from branch 'im.pidgin.pidgin' (head 5e94d4a46251e35e2b640180905fe364b82355e5) to branch 'im.pidgin.cpw.khc.msnp14' (head 7e42b1cb607bb785ef1a7d9e724f7d3ad0189f08)
author Ka-Hing Cheung <khc@hxbc.us>
date Sun, 22 Jul 2007 18:17:41 +0000
parents 2177a11e169d
children cb91bb07eeff
line wrap: on
line source

/** @page notify-signals Notification Signals

 @signals
  @signal displaying-userinfo
 @endsignals

 @signaldef displaying-userinfo
  @signalproto
void (*displaying_userinfo)(PurpleAccount *account, const char *who, PurpleNotifyUserInfo *user_info);
  @endsignalproto
  @signaldesc
   Emitted before userinfo is handed to the UI to display.
   @a user_info can be manipulated via the PurpleNotifyUserInfo API in notify.c.
  @note
    If adding a PurpleNotifyUserInfoEntry, be sure not to free it -- PurpleNotifyUserInfo assumes responsibility for its objects.
  @param account   The account on which the info was obtained.
  @param who       The screen name of the user whose info is to be displayed.
  @param user_info The information to be displayed, as PurpleNotifyUserInfoEntry objects
 @endsignaldef

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