Mercurial > pidgin.yaz
annotate plugins/perl/common/Pounce.xs @ 12893:31e3c4f78aa4
[gaim-migrate @ 15246]
BuddtList isn't right.
committer: Tailor Script <tailor@pidgin.im>
author | Etan Reisner <pidgin@unreliablesource.net> |
---|---|
date | Mon, 16 Jan 2006 10:24:49 +0000 |
parents | 6312f6e69eea |
children |
rev | line source |
---|---|
11118 | 1 #include "module.h" |
2 | |
3 MODULE = Gaim::Pounce PACKAGE = Gaim::Pounce PREFIX = gaim_pounce_ | |
4 PROTOTYPES: ENABLE | |
5 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
6 void |
11118 | 7 gaim_pounce_action_register(pounce, name) |
8 Gaim::Pounce pounce | |
9 const char *name | |
10 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
11 void |
11118 | 12 gaim_pounce_destroy(pounce) |
13 Gaim::Pounce pounce | |
14 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
15 void |
11118 | 16 gaim_pounce_destroy_all_by_account(account) |
17 Gaim::Account account | |
18 | |
19 void * | |
20 gaim_pounce_get_data(pounce) | |
21 Gaim::Pounce pounce | |
22 | |
23 Gaim::PounceEvent | |
24 gaim_pounce_get_events(pounce) | |
25 Gaim::Pounce pounce | |
26 | |
27 const char * | |
28 gaim_pounce_get_pouncee(pounce) | |
29 Gaim::Pounce pounce | |
30 | |
31 Gaim::Account | |
32 gaim_pounce_get_pouncer(pounce) | |
33 Gaim::Pounce pounce | |
34 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
35 gboolean |
11118 | 36 gaim_pounce_get_save(pounce) |
37 Gaim::Pounce pounce | |
38 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
39 void |
11118 | 40 gaim_pounce_set_data(pounce, data) |
41 Gaim::Pounce pounce | |
42 void * data | |
43 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
44 void |
11118 | 45 gaim_pounce_set_events(pounce, events) |
46 Gaim::Pounce pounce | |
47 Gaim::PounceEvent events | |
48 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
49 void |
11118 | 50 gaim_pounce_set_pouncee(pounce, pouncee) |
51 Gaim::Pounce pounce | |
52 const char *pouncee | |
53 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
54 void |
11118 | 55 gaim_pounce_set_pouncer(pounce, pouncer) |
56 Gaim::Pounce pounce | |
57 Gaim::Account pouncer | |
58 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
59 void |
11118 | 60 gaim_pounce_set_save(pounce, save) |
61 Gaim::Pounce pounce | |
62 gboolean save | |
63 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
64 MODULE = Gaim::Pounce PACKAGE = Gaim::Pounces PREFIX = gaim_pounces_ |
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
65 PROTOTYPES: ENABLE |
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
66 |
11118 | 67 void |
68 gaim_pounces_get_all() | |
69 PREINIT: | |
70 GList *l; | |
71 PPCODE: | |
72 for (l = gaim_pounces_get_all(); l != NULL; l = l->next) { | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
73 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Pounce"))); |
11118 | 74 } |
75 | |
76 void * | |
77 gaim_pounces_get_handle() | |
78 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
79 void |
11118 | 80 gaim_pounces_init() |
81 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
82 gboolean |
11118 | 83 gaim_pounces_load() |
84 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
85 void |
11118 | 86 gaim_pounces_uninit() |
87 | |
12791
6312f6e69eea
[gaim-migrate @ 15138]
Etan Reisner <pidgin@unreliablesource.net>
parents:
11290
diff
changeset
|
88 void |
11118 | 89 gaim_pounces_unregister_handler(ui) |
90 const char *ui |