doc/notify-signals.dox

Tue, 18 Sep 2007 21:12:28 +0000

author
Will Thompson <resiak@pidgin.im>
date
Tue, 18 Sep 2007 21:12:28 +0000
branch
cpw.resiak.disconnectreason
changeset 20438
cbb156152b0e
parent 18976
fcf071533791
child 20897
2608e9e07913
permissions
-rw-r--r--

Add PURPLE_REASON_INVALID_USERNAME, which should go away as soon as there's
some hook for prpls to validate the account settings before connecting.

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
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
2
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
3 @signals
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
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
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
7 @endsignals
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
8
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
9 @signaldef displaying-userinfo
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
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
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
12 @endsignalproto
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
13 @signaldesc
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
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
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
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
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
21 @endsignaldef
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
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
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
55 */
314cd0274e6a [gaim-migrate @ 14429]
Ka-Hing Cheung <khc@pidgin.im>
parents:
diff changeset
56 // vim: syntax=c tw=75 et

mercurial