Mercurial > pidgin.yaz
comparison libpurple/plugins/perl/common/Pounce.xs @ 15834:2f8274ce570a
Perl fixes for s/gaim/purple/. This hasn't really been tested yet.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 19 Mar 2007 17:02:24 +0000 |
parents | 5fe8042783c1 |
children | 39c7bb133a9f |
comparison
equal
deleted
inserted
replaced
15833:df859a1b40b1 | 15834:2f8274ce570a |
---|---|
1 #include "module.h" | 1 #include "module.h" |
2 | 2 |
3 MODULE = Gaim::Pounce PACKAGE = Gaim::Pounce PREFIX = gaim_pounce_ | 3 MODULE = Purple::Pounce PACKAGE = Purple::Pounce PREFIX = purple_pounce_ |
4 PROTOTYPES: ENABLE | 4 PROTOTYPES: ENABLE |
5 | 5 |
6 void | 6 void |
7 gaim_pounce_action_register(pounce, name) | 7 purple_pounce_action_register(pounce, name) |
8 Gaim::Pounce pounce | 8 Purple::Pounce pounce |
9 const char *name | 9 const char *name |
10 | 10 |
11 void | 11 void |
12 gaim_pounce_destroy(pounce) | 12 purple_pounce_destroy(pounce) |
13 Gaim::Pounce pounce | 13 Purple::Pounce pounce |
14 | 14 |
15 void | 15 void |
16 gaim_pounce_destroy_all_by_account(account) | 16 purple_pounce_destroy_all_by_account(account) |
17 Gaim::Account account | 17 Purple::Account account |
18 | 18 |
19 void * | 19 void * |
20 gaim_pounce_get_data(pounce) | 20 purple_pounce_get_data(pounce) |
21 Gaim::Pounce pounce | 21 Purple::Pounce pounce |
22 | 22 |
23 Gaim::PounceEvent | 23 Purple::PounceEvent |
24 gaim_pounce_get_events(pounce) | 24 purple_pounce_get_events(pounce) |
25 Gaim::Pounce pounce | 25 Purple::Pounce pounce |
26 | 26 |
27 const char * | 27 const char * |
28 gaim_pounce_get_pouncee(pounce) | 28 purple_pounce_get_pouncee(pounce) |
29 Gaim::Pounce pounce | 29 Purple::Pounce pounce |
30 | 30 |
31 Gaim::Account | 31 Purple::Account |
32 gaim_pounce_get_pouncer(pounce) | 32 purple_pounce_get_pouncer(pounce) |
33 Gaim::Pounce pounce | 33 Purple::Pounce pounce |
34 | 34 |
35 gboolean | 35 gboolean |
36 gaim_pounce_get_save(pounce) | 36 purple_pounce_get_save(pounce) |
37 Gaim::Pounce pounce | 37 Purple::Pounce pounce |
38 | 38 |
39 void | 39 void |
40 gaim_pounce_set_data(pounce, data) | 40 purple_pounce_set_data(pounce, data) |
41 Gaim::Pounce pounce | 41 Purple::Pounce pounce |
42 void * data | 42 void * data |
43 | 43 |
44 void | 44 void |
45 gaim_pounce_set_events(pounce, events) | 45 purple_pounce_set_events(pounce, events) |
46 Gaim::Pounce pounce | 46 Purple::Pounce pounce |
47 Gaim::PounceEvent events | 47 Purple::PounceEvent events |
48 | 48 |
49 void | 49 void |
50 gaim_pounce_set_pouncee(pounce, pouncee) | 50 purple_pounce_set_pouncee(pounce, pouncee) |
51 Gaim::Pounce pounce | 51 Purple::Pounce pounce |
52 const char *pouncee | 52 const char *pouncee |
53 | 53 |
54 void | 54 void |
55 gaim_pounce_set_pouncer(pounce, pouncer) | 55 purple_pounce_set_pouncer(pounce, pouncer) |
56 Gaim::Pounce pounce | 56 Purple::Pounce pounce |
57 Gaim::Account pouncer | 57 Purple::Account pouncer |
58 | 58 |
59 void | 59 void |
60 gaim_pounce_set_save(pounce, save) | 60 purple_pounce_set_save(pounce, save) |
61 Gaim::Pounce pounce | 61 Purple::Pounce pounce |
62 gboolean save | 62 gboolean save |
63 | 63 |
64 MODULE = Gaim::Pounce PACKAGE = Gaim::Pounces PREFIX = gaim_pounces_ | 64 MODULE = Purple::Pounce PACKAGE = Purple::Pounces PREFIX = purple_pounces_ |
65 PROTOTYPES: ENABLE | 65 PROTOTYPES: ENABLE |
66 | 66 |
67 void | 67 void |
68 gaim_pounces_get_all() | 68 purple_pounces_get_all() |
69 PREINIT: | 69 PREINIT: |
70 GList *l; | 70 GList *l; |
71 PPCODE: | 71 PPCODE: |
72 for (l = gaim_pounces_get_all(); l != NULL; l = l->next) { | 72 for (l = purple_pounces_get_all(); l != NULL; l = l->next) { |
73 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::Pounce"))); | 73 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Purple::Pounce"))); |
74 } | 74 } |
75 | 75 |
76 Gaim::Handle | 76 Purple::Handle |
77 gaim_pounces_get_handle() | 77 purple_pounces_get_handle() |
78 | 78 |
79 void | 79 void |
80 gaim_pounces_init() | 80 purple_pounces_init() |
81 | 81 |
82 gboolean | 82 gboolean |
83 gaim_pounces_load() | 83 purple_pounces_load() |
84 | 84 |
85 void | 85 void |
86 gaim_pounces_uninit() | 86 purple_pounces_uninit() |
87 | 87 |
88 void | 88 void |
89 gaim_pounces_unregister_handler(ui) | 89 purple_pounces_unregister_handler(ui) |
90 const char *ui | 90 const char *ui |