Mercurial > pidgin
diff plugins/SIGNALS @ 3517:6b0cb60162f4
[gaim-migrate @ 3590]
Rob McQueen added a mute feature to his nice little docklet. I added a
queuing feature. Configure the docklet in the plugins dialog to queue
unread messages, and when you receive a message the docklet will eat it up
and show a little message pending icon. Click on it, and read your message.
ICQ people will like it.
I also made plugin_event use a va_list.
I bet this breaks perl.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Mon, 16 Sep 2002 08:35:24 +0000 |
parents | c11960537fee |
children | cf00549c53d7 |
line wrap: on
line diff
--- a/plugins/SIGNALS Mon Sep 16 07:04:55 2002 +0000 +++ b/plugins/SIGNALS Mon Sep 16 08:35:24 2002 +0000 @@ -29,6 +29,7 @@ event_chat_send_invite, event_got_typing, event_del_conversation, + event_connecting, }; To add a signal handler, call the fuction gaim_signal_connect with the @@ -295,7 +296,7 @@ won't be displayed at all. event_im_displayed_rcvd: - struct gaim_connection *gc, char *who, char *what, guint32 flags + struct gaim_connection *gc, char *who, char *what, guint32 flags, time_t time This is called after what you receive is displayed. This is useful for displaying an autoresponse after the message that triggered it. @@ -306,6 +307,8 @@ 'who' is who sent the message. 'what' is what was sent. 'flags' is flags on the message. + 'time' is the time the message was received--it may be very different from the + time this signal gets called event_chat_send_invite: struct gaim_connection *gc, int id, char *who, char **msg @@ -332,6 +335,7 @@ 'gc' is the connection the typing is sent to. 'who' is the person typing to you. + event_del_conversation: struct conversation *c @@ -341,3 +345,15 @@ anything. 'c' is he conversation being closed. + +event_connecting + struct aim_user *u + + This is called when Gaim attempts to bring a user on-line. The + boolean u->connecting is set to true, and a global counter + incremented. The attempt can end with event_signon or event_signoff + being called, depending upon whether the attempt was a sucess or + a failure. In both cases, u->connecting is set to false and the + counter decremented. + + 'u' is the account being connected