Mon, 03 Sep 2007 09:45:56 +0000
You can't just look at the first letter of the screen name to determine
if it's AIM or ICQ now. It's possible for someone to register their
email address as an AIM account, and you can register "12345imcool@gmail.com"
as an AIM account. If you only look at the first letter then Pidgin
will think it's ICQ.
|
18412
6873322c380f
Add links to the signal documents in the API documents.
Sadrul Habib Chowdhury <sadrul@pidgin.im>
parents:
16244
diff
changeset
|
1 | /** @page notify-signals Notification Signals |
| 12129 | 2 | |
| 3 | @signals | |
| 4 | @signal displaying-userinfo | |
|
18976
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
5 | @signal displaying-email-notification |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
6 | @signal displaying-emails-notification |
| 12129 | 7 | @endsignals |
| 8 | ||
| 9 | @signaldef displaying-userinfo | |
| 10 | @signalproto | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
15327
diff
changeset
|
11 | void (*displaying_userinfo)(PurpleAccount *account, const char *who, PurpleNotifyUserInfo *user_info); |
| 12129 | 12 | @endsignalproto |
| 13 | @signaldesc | |
| 14 | Emitted before userinfo is handed to the UI to display. | |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
15327
diff
changeset
|
15 | @a user_info can be manipulated via the PurpleNotifyUserInfo API in notify.c. |
| 12129 | 16 | @note |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
15327
diff
changeset
|
17 | If adding a PurpleNotifyUserInfoEntry, be sure not to free it -- PurpleNotifyUserInfo assumes responsibility for its objects. |
|
15327
ec403c2abb8a
[gaim-migrate @ 18055]
Evan Schoenberg <evands@pidgin.im>
parents:
12129
diff
changeset
|
18 | @param account The account on which the info was obtained. |
|
ec403c2abb8a
[gaim-migrate @ 18055]
Evan Schoenberg <evands@pidgin.im>
parents:
12129
diff
changeset
|
19 | @param who The screen name of the user whose info is to be displayed. |
|
16244
be35cbf49dfb
Update the Doxygen signals documentation to match the new struct names.
Richard Laager <rlaager@pidgin.im>
parents:
15327
diff
changeset
|
20 | @param user_info The information to be displayed, as PurpleNotifyUserInfoEntry objects |
| 12129 | 21 | @endsignaldef |
| 22 | ||
|
18976
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
23 | @signaldef displaying-email-notification |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
24 | @signalproto |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
25 | void (*displaying_email_notification)(const char *subject, |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
26 | const char *from, |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
27 | const char *to, |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
28 | const char *url); |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
29 | @endsignalproto |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
30 | @signaldesc |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
31 | Emitted before email notification is handed to the UI to display. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
32 | @param subject Subject of email being notified of. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
33 | @param from Who the email is from. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
34 | @param to Who the email is to. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
35 | @param url A url to view the email. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
36 | @endsignaldef |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
37 | |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
38 | @signaldef displaying-emails-notification |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
39 | @signalproto |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
40 | void (*displaying_emails_notification)(const char **subjects, |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
41 | const char **froms, |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
42 | const char **tos, |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
43 | const char **urls, |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
44 | guint count); |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
45 | @endsignalproto |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
46 | @signaldesc |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
47 | Emitted before notification of multiple emails is handed to the UI to display. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
48 | @param subjects Subjects of emails being notified of. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
49 | @param froms Who the emails are from. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
50 | @param tos Who the emails are to. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
51 | @param urls The urls to view the emails. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
52 | @param count Number of emails being notified of. |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
53 | @endsignaldef |
|
fcf071533791
Email notification signals from charkins. Fixes #1324
Sean Egan <seanegan@pidgin.im>
parents:
18412
diff
changeset
|
54 | |
| 12129 | 55 | */ |
| 56 | // vim: syntax=c tw=75 et |