| |
1 #include "module.h" |
| |
2 |
| |
3 MODULE = Gaim::Roomlist PACKAGE = Gaim::Roomlist PREFIX = gaim_roomlist_ |
| |
4 PROTOTYPES: ENABLE |
| |
5 |
| |
6 void |
| |
7 gaim_roomlist_cancel_get_list(list) |
| |
8 Gaim::Roomlist list |
| |
9 |
| |
10 void |
| |
11 gaim_roomlist_expand_category(list, category) |
| |
12 Gaim::Roomlist list |
| |
13 Gaim::Roomlist::Room category |
| |
14 |
| |
15 gboolean |
| |
16 gaim_roomlist_get_in_progress(list) |
| |
17 Gaim::Roomlist list |
| |
18 |
| |
19 Gaim::Roomlist |
| |
20 gaim_roomlist_get_list(gc) |
| |
21 Gaim::Connection gc |
| |
22 |
| |
23 Gaim::Roomlist::UiOps |
| |
24 gaim_roomlist_get_ui_ops() |
| |
25 |
| |
26 |
| |
27 Gaim::Roomlist |
| |
28 gaim_roomlist_new(account) |
| |
29 Gaim::Account account |
| |
30 |
| |
31 void |
| |
32 gaim_roomlist_ref(list) |
| |
33 Gaim::Roomlist list |
| |
34 |
| |
35 void |
| |
36 gaim_roomlist_room_add(list, room) |
| |
37 Gaim::Roomlist list |
| |
38 Gaim::Roomlist::Room room |
| |
39 |
| |
40 void |
| |
41 gaim_roomlist_room_add_field(list, room, field) |
| |
42 Gaim::Roomlist list |
| |
43 Gaim::Roomlist::Room room |
| |
44 gconstpointer field |
| |
45 |
| |
46 void |
| |
47 gaim_roomlist_room_join(list, room) |
| |
48 Gaim::Roomlist list |
| |
49 Gaim::Roomlist::Room room |
| |
50 |
| |
51 void |
| |
52 gaim_roomlist_set_fields(list, fields) |
| |
53 Gaim::Roomlist list |
| |
54 SV *fields |
| |
55 PREINIT: |
| |
56 GList *t_GL; |
| |
57 int i, t_len; |
| |
58 PPCODE: |
| |
59 t_GL = NULL; |
| |
60 t_len = av_len((AV *)SvRV(fields)); |
| |
61 |
| |
62 for (i = 0; i < t_len; i++) { |
| |
63 STRLEN t_sl; |
| |
64 t_GL = g_list_append(t_GL, SvPV(*av_fetch((AV *)SvRV(fields), i, 0), t_sl)); |
| |
65 } |
| |
66 gaim_roomlist_set_fields(list, t_GL); |
| |
67 |
| |
68 void |
| |
69 gaim_roomlist_set_in_progress(list, in_progress) |
| |
70 Gaim::Roomlist list |
| |
71 gboolean in_progress |
| |
72 |
| |
73 void |
| |
74 gaim_roomlist_set_ui_ops(ops) |
| |
75 Gaim::Roomlist::UiOps ops |
| |
76 |
| |
77 void |
| |
78 gaim_roomlist_show_with_account(account) |
| |
79 Gaim::Account account |
| |
80 |
| |
81 void |
| |
82 gaim_roomlist_unref(list) |
| |
83 Gaim::Roomlist list |
| |
84 |