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