Mercurial > pidgin.yaz
comparison plugins/SIGNALS @ 1404:96e93119268d
[gaim-migrate @ 1414]
argh
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 13 Jan 2001 08:49:15 +0000 |
parents | dc6ba774bfc5 |
children | 5bfc58c20e82 |
comparison
equal
deleted
inserted
replaced
1403:c0aa7fdc0a93 | 1404:96e93119268d |
---|---|
62 | 62 |
63 'gc' is the connection that is about to go offline. This is called before | 63 'gc' is the connection that is about to go offline. This is called before |
64 serv_close is, so you still have a chance to get one last message out. | 64 serv_close is, so you still have a chance to get one last message out. |
65 | 65 |
66 event_away: | 66 event_away: |
67 (none) | 67 struct gaim_connection *gc, char *state, char *message |
68 | 68 |
69 This is fucked up for now. Currently all connections are told to use the | 69 'gc' is the connection. Duh. |
70 same away message when the user wants to be Away. The away message that | 70 'state' is confusing. We'll save that for now. |
71 is used can be obtained from global variables. | 71 'message' is the away message to be used. |
72 | |
73 Each protocol sets up what away states it can have. These are all char *, | |
74 and when the connection goes away it uses one of those. That's what state | |
75 is. | |
76 | |
77 There's no way of telling from state and message whether you're actually | |
78 away; it only gives state information, and a possible message. | |
79 | |
80 However, the protocols also are very nice (usually) and will set gc->away | |
81 if they're in an away-like state (e.g. Away or N/A for ICQ, etc). You can | |
82 use that for a more rigid (read "boolean") way of checking away-ness. | |
72 | 83 |
73 event_back: | 84 event_back: |
74 (none) | 85 (none) |
86 | |
87 This is deprecated and will not be called again. It will probably be | |
88 removed eventually. | |
75 | 89 |
76 event_im_recv: | 90 event_im_recv: |
77 struct gaim_connection *gc, char **who, char **text | 91 struct gaim_connection *gc, char **who, char **text |
78 | 92 |
79 'gc' is the connection that received the message. | 93 'gc' is the connection that received the message. |