| 1 #include "gtkmodule.h" |
1 #include "gtkmodule.h" |
| 2 |
2 |
| 3 MODULE = Pidgin::Themes PACKAGE = Pidgin::Themes PREFIX = pidginthemes_ |
3 MODULE = Pidgin::Themes PACKAGE = Pidgin::Themes PREFIX = pidgin_themes_ |
| 4 PROTOTYPES: ENABLE |
4 PROTOTYPES: ENABLE |
| 5 |
5 |
| 6 void |
6 void |
| 7 pidginthemes_init() |
7 pidgin_themes_init() |
| 8 |
8 |
| 9 gboolean |
9 gboolean |
| 10 pidginthemes_smileys_disabled() |
10 pidgin_themes_smileys_disabled() |
| 11 |
11 |
| 12 void |
12 void |
| 13 pidginthemes_smiley_theme_probe() |
13 pidgin_themes_smiley_theme_probe() |
| 14 |
14 |
| 15 void |
15 void |
| 16 pidginthemes_load_smiley_theme(file, load) |
16 pidgin_themes_load_smiley_theme(file, load) |
| 17 const char * file |
17 const char * file |
| 18 gboolean load |
18 gboolean load |
| 19 |
19 |
| 20 void |
20 void |
| 21 pidginthemes_get_proto_smileys(id) |
21 pidgin_themes_get_proto_smileys(id) |
| 22 const char * id |
22 const char * id |
| 23 PREINIT: |
23 PREINIT: |
| 24 GSList *l; |
24 GSList *l; |
| 25 PPCODE: |
25 PPCODE: |
| 26 for (l = pidginthemes_get_proto_smileys(id); l != NULL; l = l->next) { |
26 for (l = pidgin_themes_get_proto_smileys(id); l != NULL; l = l->next) { |
| 27 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::IMHtml::Smiley"))); |
27 XPUSHs(sv_2mortal(purple_perl_bless_object(l->data, "Pidgin::IMHtml::Smiley"))); |
| 28 } |
28 } |