comparison plugins/SIGNALS @ 2993:7239a392486c

[gaim-migrate @ 3006] 0.53 :) committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sat, 02 Mar 2002 04:52:21 +0000
parents ad56a93661fc
children e102d1629c71
comparison
equal deleted inserted replaced
2992:d16a0504f1c8 2993:7239a392486c
24 event_new_conversation, 24 event_new_conversation,
25 event_set_info, 25 event_set_info,
26 event_draw_menu, 26 event_draw_menu,
27 event_im_displayed_sent, 27 event_im_displayed_sent,
28 event_im_displayed_rcvd, 28 event_im_displayed_rcvd,
29 event_chat_send_invite 29 event_chat_send_invite,
30 event_got_typing,
30 }; 31 };
31 32
32 To add a signal handler, call the fuction gaim_signal_connect with the 33 To add a signal handler, call the fuction gaim_signal_connect with the
33 following arguments: 34 following arguments:
34 35
312 'gc' is the connection the invite is sent on. 313 'gc' is the connection the invite is sent on.
313 'id' is the id of the room you're inviting them to. 314 'id' is the id of the room you're inviting them to.
314 'who' is who you're inviting. 315 'who' is who you're inviting.
315 'msg' is the message they'll receive when they're invited. It may be 316 'msg' is the message they'll receive when they're invited. It may be
316 NULL. Setting this to NULL won't stop the invitation from going thru. 317 NULL. Setting this to NULL won't stop the invitation from going thru.
318
319 event_got_typing:
320 struct gaim_connection *gc, char *who
321
322 This is called when a buddy starts typing you and is called
323 differently depending on the protocol. MSN requires that a
324 conversation is already in progress, and may send more than
325 one notification while typing. OSCAR can receive typing
326 notifications in direct IMs, and Yahoo can receive them any
327 time.
328
329 'gc' is the connection the typing is sent to.
330 'who' is the person typing to you.