pidgin/plugins/perl/common/GtkConvWin.xs

changeset 15590
c07dd12bf3f4
parent 15435
4b933b06d75e
child 15899
75f0041f72b8
equal deleted inserted replaced
15588:e6e89a427ed5 15590:c07dd12bf3f4
1 #include "gtkmodule.h" 1 #include "gtkmodule.h"
2 2
3 MODULE = Gaim::GtkUI::Conversation::Window PACKAGE = Gaim::GtkUI::Conversation::Window PREFIX = gaim_gtk_conv_window_ 3 MODULE = Pidgin::Conversation::Window PACKAGE = Pidgin::Conversation::Window PREFIX = pidgin_conv_window_
4 PROTOTYPES: ENABLE 4 PROTOTYPES: ENABLE
5 5
6 Gaim::GtkUI::Conversation::Window 6 Pidgin::Conversation::Window
7 gaim_gtk_conv_window_new(class) 7 pidgin_conv_window_new(class)
8 C_ARGS: /* void */ 8 C_ARGS: /* void */
9 9
10 void 10 void
11 gaim_gtk_conv_window_destroy(win) 11 pidgin_conv_window_destroy(win)
12 Gaim::GtkUI::Conversation::Window win 12 Pidgin::Conversation::Window win
13 13
14 void 14 void
15 gaim_gtk_conv_window_show(win) 15 pidgin_conv_window_show(win)
16 Gaim::GtkUI::Conversation::Window win 16 Pidgin::Conversation::Window win
17 17
18 void 18 void
19 gaim_gtk_conv_window_hide(win) 19 pidgin_conv_window_hide(win)
20 Gaim::GtkUI::Conversation::Window win 20 Pidgin::Conversation::Window win
21 21
22 void 22 void
23 gaim_gtk_conv_window_raise(win) 23 pidgin_conv_window_raise(win)
24 Gaim::GtkUI::Conversation::Window win 24 Pidgin::Conversation::Window win
25 25
26 void 26 void
27 gaim_gtk_conv_window_switch_gtkconv(win, gtkconv) 27 pidgin_conv_window_switch_gtkconv(win, gtkconv)
28 Gaim::GtkUI::Conversation::Window win 28 Pidgin::Conversation::Window win
29 Gaim::GtkUI::Conversation gtkconv 29 Pidgin::Conversation gtkconv
30 30
31 void 31 void
32 gaim_gtk_conv_window_add_gtkconv(win, gtkconv) 32 pidgin_conv_window_add_gtkconv(win, gtkconv)
33 Gaim::GtkUI::Conversation::Window win 33 Pidgin::Conversation::Window win
34 Gaim::GtkUI::Conversation gtkconv 34 Pidgin::Conversation gtkconv
35 35
36 void 36 void
37 gaim_gtk_conv_window_remove_gtkconv(win, gtkconv) 37 pidgin_conv_window_remove_gtkconv(win, gtkconv)
38 Gaim::GtkUI::Conversation::Window win 38 Pidgin::Conversation::Window win
39 Gaim::GtkUI::Conversation gtkconv 39 Pidgin::Conversation gtkconv
40 40
41 Gaim::GtkUI::Conversation 41 Pidgin::Conversation
42 gaim_gtk_conv_window_get_gtkconv_at_index(win, index) 42 pidgin_conv_window_get_gtkconv_at_index(win, index)
43 Gaim::GtkUI::Conversation::Window win 43 Pidgin::Conversation::Window win
44 int index 44 int index
45 45
46 Gaim::GtkUI::Conversation 46 Pidgin::Conversation
47 gaim_gtk_conv_window_get_active_gtkconv(win) 47 pidgin_conv_window_get_active_gtkconv(win)
48 Gaim::GtkUI::Conversation::Window win 48 Pidgin::Conversation::Window win
49 49
50 Gaim::Conversation 50 Gaim::Conversation
51 gaim_gtk_conv_window_get_active_conversation(win) 51 pidgin_conv_window_get_active_conversation(win)
52 Gaim::GtkUI::Conversation::Window win 52 Pidgin::Conversation::Window win
53 53
54 gboolean 54 gboolean
55 gaim_gtk_conv_window_is_active_conversation(conv) 55 pidgin_conv_window_is_active_conversation(conv)
56 Gaim::Conversation conv 56 Gaim::Conversation conv
57 57
58 gboolean 58 gboolean
59 gaim_gtk_conv_window_has_focus(win) 59 pidgin_conv_window_has_focus(win)
60 Gaim::GtkUI::Conversation::Window win 60 Pidgin::Conversation::Window win
61 61
62 Gaim::GtkUI::Conversation::Window 62 Pidgin::Conversation::Window
63 gaim_gtk_conv_window_get_at_xy(x, y) 63 pidgin_conv_window_get_at_xy(x, y)
64 int x 64 int x
65 int y 65 int y
66 66
67 void 67 void
68 gaim_gtk_conv_window_get_gtkconvs(win) 68 pidgin_conv_window_get_gtkconvs(win)
69 Gaim::GtkUI::Conversation::Window win 69 Pidgin::Conversation::Window win
70 PREINIT: 70 PREINIT:
71 GList *l; 71 GList *l;
72 PPCODE: 72 PPCODE:
73 for (l = gaim_gtk_conv_window_get_gtkconvs(win); l != NULL; l = l->next) { 73 for (l = pidgin_conv_window_get_gtkconvs(win); l != NULL; l = l->next) {
74 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::GtkUI::Conversation"))); 74 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Pidgin::Conversation")));
75 } 75 }
76 76
77 guint 77 guint
78 gaim_gtk_conv_window_get_gtkconv_count(win) 78 pidgin_conv_window_get_gtkconv_count(win)
79 Gaim::GtkUI::Conversation::Window win 79 Pidgin::Conversation::Window win
80 80
81 Gaim::GtkUI::Conversation::Window 81 Pidgin::Conversation::Window
82 gaim_gtk_conv_window_first_with_type(type) 82 pidgin_conv_window_first_with_type(type)
83 Gaim::ConversationType type 83 Gaim::ConversationType type
84 84
85 Gaim::GtkUI::Conversation::Window 85 Pidgin::Conversation::Window
86 gaim_gtk_conv_window_last_with_type(type) 86 pidgin_conv_window_last_with_type(type)
87 Gaim::ConversationType type 87 Gaim::ConversationType type
88 88
89 MODULE = Gaim::GtkUI::Conversation::Window PACKAGE = Gaim::GtkUI::Conversation::Placement PREFIX = gaim_gtkconv_placement_ 89 MODULE = Pidgin::Conversation::Window PACKAGE = Pidgin::Conversation::Placement PREFIX = pidgin_conv_placement_
90 PROTOTYPES: ENABLE 90 PROTOTYPES: ENABLE
91 91
92 void 92 void
93 gaim_gtkconv_placement_get_options() 93 pidgin_conv_placement_get_options()
94 PREINIT: 94 PREINIT:
95 GList *l; 95 GList *l;
96 PPCODE: 96 PPCODE:
97 for (l = gaim_gtkconv_placement_get_options(); l != NULL; l = l->next) { 97 for (l = pidgin_conv_placement_get_options(); l != NULL; l = l->next) {
98 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::GtkUI::Conversation::Window"))); 98 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Pidgin::Conversation::Window")));
99 } 99 }
100 100
101 void 101 void
102 gaim_gtkconv_placement_add_fnc(id, name, fnc) 102 pidgin_conv_placement_add_fnc(id, name, fnc)
103 const char * id 103 const char * id
104 const char * name 104 const char * name
105 Gaim::Conversation::PlacementFunc fnc 105 Gaim::Conversation::PlacementFunc fnc
106 106
107 void 107 void
108 gaim_gtkconv_placement_remove_fnc(id) 108 pidgin_conv_placement_remove_fnc(id)
109 const char * id 109 const char * id
110 110
111 const char * 111 const char *
112 gaim_gtkconv_placement_get_name(id) 112 pidgin_conv_placement_get_name(id)
113 const char * id 113 const char * id
114 114
115 Gaim::Conversation::PlacementFunc 115 Gaim::Conversation::PlacementFunc
116 gaim_gtkconv_placement_get_fnc(id) 116 pidgin_conv_placement_get_fnc(id)
117 const char * id 117 const char * id
118 118
119 void 119 void
120 gaim_gtkconv_placement_set_current_func(func) 120 pidgin_conv_placement_set_current_func(func)
121 Gaim::Conversation::PlacementFunc func 121 Gaim::Conversation::PlacementFunc func
122 122
123 Gaim::Conversation::PlacementFunc 123 Gaim::Conversation::PlacementFunc
124 gaim_gtkconv_placement_get_current_func() 124 pidgin_conv_placement_get_current_func()
125 125
126 void 126 void
127 gaim_gtkconv_placement_place(gtkconv) 127 pidgin_conv_placement_place(gtkconv)
128 Gaim::GtkUI::Conversation gtkconv 128 Pidgin::Conversation gtkconv
129 129
130 MODULE = Gaim::GtkUI::Conversation::Window PACKAGE = Gaim::GtkUI::Conversation::Windows PREFIX = gaim_gtk_conv_windows_ 130 MODULE = Pidgin::Conversation::Window PACKAGE = Pidgin::Conversation::Windows PREFIX = pidgin_conv_windows_
131 PROTOTYPES: ENABLE 131 PROTOTYPES: ENABLE
132 132
133 void 133 void
134 gaim_gtk_conv_windows_get_list() 134 pidgin_conv_windows_get_list()
135 PREINIT: 135 PREINIT:
136 GList *l; 136 GList *l;
137 PPCODE: 137 PPCODE:
138 for (l = gaim_gtk_conv_windows_get_list(); l != NULL; l = l->next) { 138 for (l = pidgin_conv_windows_get_list(); l != NULL; l = l->next) {
139 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Gaim::GtkUI::Conversation::Window"))); 139 XPUSHs(sv_2mortal(gaim_perl_bless_object(l->data, "Pidgin::Conversation::Window")));
140 } 140 }

mercurial