| 1 #include "module.h" |
1 #include "module.h" |
| 2 |
2 |
| 3 MODULE = Gaim::ConvWindow PACKAGE = Gaim::ConvWindow PREFIX = gaim_window_ |
3 MODULE = Gaim::ConvWindow PACKAGE = Gaim::ConvWindow PREFIX = gaim_conv_window_ |
| 4 PROTOTYPES: ENABLE |
4 PROTOTYPES: ENABLE |
| 5 |
5 |
| 6 Gaim::ConvWindow |
6 Gaim::ConvWindow |
| 7 gaim_window_new() |
7 gaim_conv_window_new() |
| 8 |
8 |
| 9 void |
9 void |
| 10 DESTROY(win) |
10 DESTROY(win) |
| 11 Gaim::ConvWindow win |
11 Gaim::ConvWindow win |
| 12 CODE: |
12 CODE: |
| 13 gaim_window_destroy(win); |
13 gaim_conv_window_destroy(win); |
| 14 |
14 |
| 15 |
15 |
| 16 void |
16 void |
| 17 gaim_window_show(win) |
17 gaim_conv_window_show(win) |
| 18 Gaim::ConvWindow win |
18 Gaim::ConvWindow win |
| 19 |
19 |
| 20 void |
20 void |
| 21 gaim_window_hide(win) |
21 gaim_conv_window_hide(win) |
| 22 Gaim::ConvWindow win |
22 Gaim::ConvWindow win |
| 23 |
23 |
| 24 void |
24 void |
| 25 gaim_window_raise(win) |
25 gaim_conv_window_raise(win) |
| 26 Gaim::ConvWindow win |
26 Gaim::ConvWindow win |
| 27 |
27 |
| 28 void |
28 void |
| 29 gaim_window_flash(win) |
29 gaim_conv_window_flash(win) |
| 30 Gaim::ConvWindow win |
30 Gaim::ConvWindow win |
| 31 |
31 |
| 32 int |
32 int |
| 33 gaim_window_add_conversation(win, conv) |
33 gaim_conv_window_add_conversation(win, conv) |
| 34 Gaim::ConvWindow win |
34 Gaim::ConvWindow win |
| 35 Gaim::Conversation conv |
35 Gaim::Conversation conv |
| 36 |
36 |
| 37 Gaim::Conversation |
37 Gaim::Conversation |
| 38 gaim_window_remove_conversation(win, index) |
38 gaim_conv_window_remove_conversation(win, index) |
| 39 Gaim::ConvWindow win |
39 Gaim::ConvWindow win |
| 40 unsigned int index |
40 unsigned int index |
| 41 |
41 |
| 42 void |
42 void |
| 43 gaim_window_move_conversation(win, index, new_index) |
43 gaim_conv_window_move_conversation(win, index, new_index) |
| 44 Gaim::ConvWindow win |
44 Gaim::ConvWindow win |
| 45 unsigned int index |
45 unsigned int index |
| 46 unsigned int new_index |
46 unsigned int new_index |
| 47 |
47 |
| 48 Gaim::Conversation |
48 Gaim::Conversation |
| 49 gaim_window_get_conversation_at(win, index) |
49 gaim_conv_window_get_conversation_at(win, index) |
| 50 Gaim::ConvWindow win |
50 Gaim::ConvWindow win |
| 51 unsigned int index |
51 unsigned int index |
| 52 |
52 |
| 53 size_t |
53 size_t |
| 54 gaim_window_get_conversation_count(win) |
54 gaim_conv_window_get_conversation_count(win) |
| 55 Gaim::ConvWindow win |
55 Gaim::ConvWindow win |
| 56 |
56 |
| 57 void |
57 void |
| 58 gaim_window_switch_conversation(win, index) |
58 gaim_conv_window_switch_conversation(win, index) |
| 59 Gaim::ConvWindow win |
59 Gaim::ConvWindow win |
| 60 unsigned int index |
60 unsigned int index |
| 61 |
61 |
| 62 Gaim::Conversation |
62 Gaim::Conversation |
| 63 gaim_window_get_active_conversation(win) |
63 gaim_conv_window_get_active_conversation(win) |
| 64 Gaim::ConvWindow win |
64 Gaim::ConvWindow win |
| 65 |
65 |
| 66 void |
66 void |
| 67 conversations(win) |
67 conversations(win) |
| 68 Gaim::ConvWindow win |
68 Gaim::ConvWindow win |
| 69 PREINIT: |
69 PREINIT: |
| 70 GList *l; |
70 GList *l; |
| 71 CODE: |
71 CODE: |
| 72 for (l = gaim_window_get_conversations(win); l != NULL; l = l->next) |
72 for (l = gaim_conv_window_get_conversations(win); l != NULL; l = l->next) |
| 73 { |
73 { |
| 74 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, |
74 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, |
| 75 "Gaim::Conversation"))); |
75 "Gaim::Conversation"))); |
| 76 } |
76 } |
| 77 |
77 |