Wed, 13 Jun 2012 19:32:35 -0400
Merge d58bb79313d0 to convert .hgignore
|
6724
e1d416a4a4bc
[gaim-migrate @ 7251]
Christian Hammond <chipx86@chipx86.com>
parents:
6611
diff
changeset
|
1 | /** @page connection-signals Connection Signals |
| 6611 | 2 | |
| 3 | @signals | |
| 4 | @signal signing-on | |
| 5 | @signal signed-on | |
|
30039
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
6 | @signal autojoin |
| 6611 | 7 | @signal signing-off |
| 8 | @signal signed-off | |
|
23860
53c2e53a3f05
A2B in #pidgin noticed that the link was missing
Ka-Hing Cheung <khc@pidgin.im>
parents:
21286
diff
changeset
|
9 | @signal connection-error |
| 6611 | 10 | @endsignals |
| 11 | ||
|
20897
2608e9e07913
Add some links from signal documentation back to the documentation for the
Will Thompson <resiak@pidgin.im>
parents:
16244
diff
changeset
|
12 | @see connection.h |
|
2608e9e07913
Add some links from signal documentation back to the documentation for the
Will Thompson <resiak@pidgin.im>
parents:
16244
diff
changeset
|
13 | |
| 6611 | 14 | <hr> |
| 15 | ||
| 16 | @signaldef signing-on | |
| 17 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
6724
diff
changeset
|
18 | void (*signing_on)(PurpleConnection *gc); |
| 6611 | 19 | @endsignalproto |
| 20 | @signaldesc | |
| 21 | Emitted when a connection is about to sign on. | |
| 22 | @param gc The connection that is about to sign on. | |
| 23 | @endsignaldef | |
| 24 | ||
| 25 | @signaldef signed-on | |
| 26 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
6724
diff
changeset
|
27 | void (*signed_on)(PurpleConnection *gc); |
| 6611 | 28 | @endsignalproto |
| 29 | @signaldesc | |
| 30 | Emitted when a connection has signed on. | |
| 31 | @param gc The connection that has signed on. | |
| 32 | @endsignaldef | |
| 33 | ||
|
30039
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
34 | @signaldef autojoin |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
35 | @signalproto |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
36 | gboolean (*autojoin)(PurpleConnection *gc); |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
37 | @endsignalproto |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
38 | @signaldesc |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
39 | Emitted when a connection has signed on, after the signed-on signal, to |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
40 | signal UIs to autojoin chats if they wish. UIs should connect to this |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
41 | with @c PURPLE_SIGNAL_PRIORITY_HIGHEST to allow plugins to block this |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
42 | signal before the UI sees it and then re-emit it later. |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
43 | @param gc The connection that has signed on. |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
44 | @return @c TRUE if the signal was handled or @c FALSE otherwise. In |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
45 | practice, the return value is irrelevant, as it really only |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
46 | exists so plugins can block the UI's autojoin. |
|
30048
9bc385472114
Add a @since tag for the new autojoin signal
Richard Laager <rlaager@pidgin.im>
parents:
30039
diff
changeset
|
47 | @since 2.7.0 |
|
30039
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
48 | @endsignaldef |
|
9cd7672bae4f
Add an autojoin connection signal
Richard Laager <rlaager@pidgin.im>
parents:
27525
diff
changeset
|
49 | |
| 6611 | 50 | @signaldef signing-off |
| 51 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
6724
diff
changeset
|
52 | void (*signing_off)(PurpleConnection *gc); |
| 6611 | 53 | @endsignalproto |
| 54 | @signaldesc | |
| 55 | Emitted when a connection is about to sign off. | |
| 56 | @param gc The connection that is about to sign off. | |
| 57 | @endsignaldef | |
| 58 | ||
| 59 | @signaldef signed-off | |
| 60 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
6724
diff
changeset
|
61 | void (*signed_off)(PurpleConnection *gc); |
| 6611 | 62 | @endsignalproto |
| 63 | @signaldesc | |
| 64 | Emitted when a connection has signed off. | |
| 65 | @param gc The connection that has signed off. | |
| 66 | @endsignaldef | |
| 67 | ||
|
21286
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
68 | @signaldef connection-error |
|
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
69 | @signalproto |
|
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
70 | void (*connection_error)(PurpleConnection *gc, PurpleConnectionError err, const gchar *desc) |
|
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
71 | @endsignalproto |
|
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
72 | @signaldesc |
|
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
73 | Emitted when a connection error occurs, before @ref signed-off. |
|
27525
579b9d64b364
A semi-random collection of English spelling and grammatical changes.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23860
diff
changeset
|
74 | @param gc The connection on which the error has occurred |
|
579b9d64b364
A semi-random collection of English spelling and grammatical changes.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
23860
diff
changeset
|
75 | @param err The error that occurred |
|
21286
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
76 | @param desc A description of the error, giving more information. |
|
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
77 | @endsignaldef |
|
759b1949f5ce
Document connection-error signal.
Will Thompson <resiak@pidgin.im>
parents:
20897
diff
changeset
|
78 | |
| 6611 | 79 | */ |
|
20897
2608e9e07913
Add some links from signal documentation back to the documentation for the
Will Thompson <resiak@pidgin.im>
parents:
16244
diff
changeset
|
80 | // vim: syntax=c.doxygen tw=75 et |