Mercurial > pidgin.yaz
annotate plugins/perl/common/Signal.xs @ 13853:bbf0470cb348
[gaim-migrate @ 16312]
Improvement/fixing of GntTree. Do the scrolling and stuff without 'reliably'.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 23 Jun 2006 00:45:45 +0000 |
parents | 60b863ecd89b |
children |
rev | line source |
---|---|
13190
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
1 #include "module.h" |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
2 #include "../perl-handlers.h" |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
3 |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
4 MODULE = Gaim::Signal PACKAGE = Gaim::Signal PREFIX = gaim_signal_ |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
5 PROTOTYPES: ENABLE |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
6 |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
7 void |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
8 gaim_signal_connect_priority(instance, signal, plugin, callback, priority, data = 0) |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
9 void *instance |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
10 const char *signal |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
11 Gaim::Plugin plugin |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
12 SV *callback |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
13 int priority |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
14 SV *data |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
15 CODE: |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
16 gaim_perl_signal_connect(plugin, instance, signal, callback, data, priority); |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
17 |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
18 void |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
19 gaim_signal_connect(instance, signal, plugin, callback, data = 0) |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
20 void *instance |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
21 const char *signal |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
22 Gaim::Plugin plugin |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
23 SV *callback |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
24 SV *data |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
25 CODE: |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
26 gaim_perl_signal_connect(plugin, instance, signal, callback, data, GAIM_SIGNAL_PRIORITY_DEFAULT); |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
27 |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
28 void |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
29 gaim_signal_disconnect(instance, signal, plugin) |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
30 void *instance |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
31 const char *signal |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
32 Gaim::Plugin plugin |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
33 CODE: |
60b863ecd89b
[gaim-migrate @ 15553]
Etan Reisner <pidgin@unreliablesource.net>
parents:
diff
changeset
|
34 gaim_perl_signal_disconnect(plugin, instance, signal); |