Mercurial > pidgin
annotate plugins/perl/common/Notify.xs @ 13219:d0f7f698b6de
[gaim-migrate @ 15583]
SF Patch #1428591 from Sadrul
"This is a new signal, emitted when request for a
file-transfer comes in. I have written a trivial plugin
(which I plan on adding under plugin_pack in a couple
of days) that uses this signal to auto-accept
file-transfers. I have tested the plugin to auto-accept
or auto-reject file-transfer requests."
I also noticed that the file transfer signals weren't using a subtype for
GaimXfer pointers, so I added one.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Sat, 11 Feb 2006 05:24:30 +0000 |
parents | 96f9b4798012 |
children |
rev | line source |
---|---|
11118 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::Notify PACKAGE = Gaim::Notify PREFIX = gaim_notify_ | |
4 PROTOTYPES: ENABLE | |
5 | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
6 void |
11118 | 7 gaim_notify_close(type, ui_handle) |
8 Gaim::NotifyType type | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
9 void * ui_handle |
11118 | 10 |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
11 void |
11118 | 12 gaim_notify_close_with_handle(handle) |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
13 void * handle |
11118 | 14 |
15 void * | |
16 gaim_notify_email(handle, subject, from, to, url, cb, user_data) | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
17 void * handle |
11118 | 18 const char *subject |
19 const char *from | |
20 const char *to | |
21 const char *url | |
12242
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
22 Gaim::NotifyCloseCallback cb |
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
23 gpointer user_data |
11118 | 24 |
25 void * | |
26 gaim_notify_emails(handle, count, detailed, subjects, froms, tos, urls, cb, user_data) | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
27 void * handle |
11118 | 28 size_t count |
29 gboolean detailed | |
30 const char **subjects | |
31 const char **froms | |
32 const char **tos | |
33 const char **urls | |
12242
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
34 Gaim::NotifyCloseCallback cb |
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
35 gpointer user_data |
11118 | 36 |
37 void * | |
38 gaim_notify_formatted(handle, title, primary, secondary, text, cb, user_data) | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
39 void * handle |
11118 | 40 const char *title |
41 const char *primary | |
42 const char *secondary | |
43 const char *text | |
12242
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
44 Gaim::NotifyCloseCallback cb |
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
45 gpointer user_data |
11118 | 46 |
47 Gaim::NotifyUiOps | |
48 gaim_notify_get_ui_ops() | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
49 |
11118 | 50 |
51 void * | |
52 gaim_notify_message(handle, type, title, primary, secondary, cb, user_data) | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
53 void * handle |
11118 | 54 Gaim::NotifyMsgType type |
55 const char *title | |
56 const char *primary | |
57 const char *secondary | |
12242
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
58 Gaim::NotifyCloseCallback cb |
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
59 gpointer user_data |
11118 | 60 |
61 void * | |
62 gaim_notify_searchresults(gc, title, primary, secondary, results, cb, user_data) | |
63 Gaim::Connection gc | |
64 const char *title | |
65 const char *primary | |
66 const char *secondary | |
11533
c9b815aeddc1
[gaim-migrate @ 13782]
Richard Laager <rlaager@wiktel.com>
parents:
11290
diff
changeset
|
67 Gaim::NotifySearchResults results |
12242
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
68 Gaim::NotifyCloseCallback cb |
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
69 gpointer user_data |
11118 | 70 |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
71 void |
11118 | 72 gaim_notify_set_ui_ops(ops) |
73 Gaim::NotifyUiOps ops | |
74 | |
75 void * | |
76 gaim_notify_uri(handle, uri) | |
12773
96f9b4798012
[gaim-migrate @ 15120]
Etan Reisner <pidgin@unreliablesource.net>
parents:
12242
diff
changeset
|
77 void * handle |
11118 | 78 const char *uri |
79 | |
80 void * | |
11533
c9b815aeddc1
[gaim-migrate @ 13782]
Richard Laager <rlaager@wiktel.com>
parents:
11290
diff
changeset
|
81 gaim_notify_userinfo(gc, who, text, cb, user_data) |
11118 | 82 Gaim::Connection gc |
83 const char *who | |
84 const char *text | |
12242
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
85 Gaim::NotifyCloseCallback cb |
976677e67239
[gaim-migrate @ 14544]
Richard Laager <rlaager@wiktel.com>
parents:
12235
diff
changeset
|
86 gpointer user_data |