Mercurial > pidgin.yaz
annotate src/gtkconv.h @ 14039:5e6d4c36630a
[gaim-migrate @ 16643]
Return g_string_free(str, FALSE) directly instead of assigning
str->str to a temporary directory and returning that.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 05 Aug 2006 09:17:09 +0000 |
parents | 626977ae8869 |
children |
rev | line source |
---|---|
4359 | 1 /** |
2 * @file gtkconv.h GTK+ Conversation API | |
5034
4691c5936c01
[gaim-migrate @ 5377]
Christian Hammond <chipx86@chipx86.com>
parents:
4736
diff
changeset
|
3 * @ingroup gtkui |
4359 | 4 * |
5 * gaim | |
6 * | |
8046 | 7 * Gaim is the legal property of its developers, whose names are too numerous |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
7326
00a9ab26d607
[gaim-migrate @ 7912]
Christian Hammond <chipx86@chipx86.com>
parents:
7295
diff
changeset
|
10 * |
4359 | 11 * This program is free software; you can redistribute it and/or modify |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
9713 | 25 #ifndef _GAIM_GTKCONVERSATION_H_ |
26 #define _GAIM_GTKCONVERSATION_H_ | |
4359 | 27 |
10008 | 28 typedef struct _GaimGtkImPane GaimGtkImPane; |
29 typedef struct _GaimGtkChatPane GaimGtkChatPane; | |
30 typedef struct _GaimGtkConversation GaimGtkConversation; | |
9709 | 31 |
11664
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
32 /** |
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
33 * Unseen text states. |
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
34 */ |
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
35 typedef enum |
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
36 { |
12132
95bffda9b762
[gaim-migrate @ 14432]
Richard Laager <rlaager@wiktel.com>
parents:
12117
diff
changeset
|
37 GAIM_UNSEEN_NONE, /**< No unseen text in the conversation. */ |
95bffda9b762
[gaim-migrate @ 14432]
Richard Laager <rlaager@wiktel.com>
parents:
12117
diff
changeset
|
38 GAIM_UNSEEN_EVENT, /**< Unseen events in the conversation. */ |
95bffda9b762
[gaim-migrate @ 14432]
Richard Laager <rlaager@wiktel.com>
parents:
12117
diff
changeset
|
39 GAIM_UNSEEN_NO_LOG, /**< Unseen text with NO_LOG flag. */ |
95bffda9b762
[gaim-migrate @ 14432]
Richard Laager <rlaager@wiktel.com>
parents:
12117
diff
changeset
|
40 GAIM_UNSEEN_TEXT, /**< Unseen text in the conversation. */ |
95bffda9b762
[gaim-migrate @ 14432]
Richard Laager <rlaager@wiktel.com>
parents:
12117
diff
changeset
|
41 GAIM_UNSEEN_NICK /**< Unseen text and the nick was said. */ |
11664
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
42 } GaimUnseenState; |
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
43 |
9498 | 44 enum { |
45 CHAT_USERS_ICON_COLUMN, | |
11454
201617d49573
[gaim-migrate @ 13693]
Richard Laager <rlaager@wiktel.com>
parents:
11280
diff
changeset
|
46 CHAT_USERS_ALIAS_COLUMN, |
13965 | 47 CHAT_USERS_ALIAS_KEY_COLUMN, |
9498 | 48 CHAT_USERS_NAME_COLUMN, |
9554 | 49 CHAT_USERS_FLAGS_COLUMN, |
11454
201617d49573
[gaim-migrate @ 13693]
Richard Laager <rlaager@wiktel.com>
parents:
11280
diff
changeset
|
50 CHAT_USERS_COLOR_COLUMN, |
201617d49573
[gaim-migrate @ 13693]
Richard Laager <rlaager@wiktel.com>
parents:
11280
diff
changeset
|
51 CHAT_USERS_BUDDY_COLUMN, |
9498 | 52 CHAT_USERS_COLUMNS |
53 }; | |
54 | |
10008 | 55 #define GAIM_GTK_CONVERSATION(conv) \ |
56 ((GaimGtkConversation *)(conv)->ui_data) | |
57 | |
58 #define GAIM_IS_GTK_CONVERSATION(conv) \ | |
59 (gaim_conversation_get_ui_ops(conv) == \ | |
60 gaim_gtk_conversations_get_conv_ui_ops()) | |
61 | |
62 #include "gtkgaim.h" | |
63 #include "conversation.h" | |
11581 | 64 #include "gtkconvwin.h" |
10008 | 65 |
4359 | 66 /************************************************************************** |
67 * @name Structures | |
68 **************************************************************************/ | |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
69 /*@{*/ |
4359 | 70 |
71 /** | |
72 * A GTK+ representation of a graphical window containing one or more | |
73 * conversations. | |
74 */ | |
75 | |
76 /** | |
7820 | 77 * A GTK+ Instant Message pane. |
4359 | 78 */ |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
79 struct _GaimGtkImPane |
4359 | 80 { |
81 GtkWidget *block; | |
9468 | 82 GtkWidget *send_file; |
4359 | 83 GtkWidget *sep1; |
84 GtkWidget *sep2; | |
85 GtkWidget *check; | |
86 GtkWidget *progress; | |
87 | |
88 /* Buddy icon stuff */ | |
9885 | 89 GtkWidget *icon_container; |
4359 | 90 GtkWidget *icon; |
9687 | 91 gboolean show_icon; |
8189 | 92 gboolean animate; |
4359 | 93 GdkPixbufAnimation *anim; |
94 GdkPixbufAnimationIter *iter; | |
95 guint32 icon_timer; | |
96 }; | |
97 | |
98 /** | |
99 * GTK+ Chat panes. | |
100 */ | |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
101 struct _GaimGtkChatPane |
4359 | 102 { |
103 GtkWidget *count; | |
104 GtkWidget *list; | |
105 GtkWidget *topic_text; | |
106 }; | |
107 | |
108 /** | |
109 * A GTK+ conversation pane. | |
110 */ | |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
111 struct _GaimGtkConversation |
4359 | 112 { |
10810 | 113 GaimConversation *active_conv; |
114 GList *convs; | |
13838
dd00149f6f9b
[gaim-migrate @ 16287]
Richard Laager <rlaager@wiktel.com>
parents:
12832
diff
changeset
|
115 GList *send_history; |
11581 | 116 |
117 GaimGtkWindow *win; | |
118 | |
4359 | 119 gboolean make_sound; |
120 | |
121 GtkTooltips *tooltips; | |
122 | |
123 GtkWidget *tab_cont; | |
124 GtkWidget *tabby; | |
6771
8eebba08b44b
[gaim-migrate @ 7308]
Christian Hammond <chipx86@chipx86.com>
parents:
6392
diff
changeset
|
125 GtkWidget *menu_tabby; |
4359 | 126 |
127 GtkWidget *imhtml; | |
128 GtkTextBuffer *entry_buffer; | |
129 GtkWidget *entry; | |
130 | |
7930 | 131 GtkWidget *close; /* "x" on the tab */ |
6392
e9974608b319
[gaim-migrate @ 6897]
Christian Hammond <chipx86@chipx86.com>
parents:
5908
diff
changeset
|
132 GtkWidget *icon; |
4359 | 133 GtkWidget *tab_label; |
6771
8eebba08b44b
[gaim-migrate @ 7308]
Christian Hammond <chipx86@chipx86.com>
parents:
6392
diff
changeset
|
134 GtkWidget *menu_icon; |
8eebba08b44b
[gaim-migrate @ 7308]
Christian Hammond <chipx86@chipx86.com>
parents:
6392
diff
changeset
|
135 GtkWidget *menu_label; |
4359 | 136 GtkSizeGroup *sg; |
137 | |
9332 | 138 GtkWidget *lower_hbox; |
4359 | 139 |
8317 | 140 GtkWidget *toolbar; |
4359 | 141 |
11664
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
142 GaimUnseenState unseen_state; |
12175
a655bdeb561d
[gaim-migrate @ 14477]
Richard Laager <rlaager@wiktel.com>
parents:
12132
diff
changeset
|
143 guint unseen_count; |
11664
38bbb0f15453
[gaim-migrate @ 13949]
Luke Schierer <lschiere@pidgin.im>
parents:
11614
diff
changeset
|
144 |
4359 | 145 struct |
146 { | |
5106 | 147 GtkWidget *image; |
7295 | 148 GtkWidget *search; |
4359 | 149 |
150 } dialogs; | |
151 | |
152 union | |
153 { | |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
154 GaimGtkImPane *im; |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
155 GaimGtkChatPane *chat; |
4359 | 156 |
157 } u; | |
158 }; | |
159 | |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
160 /*@}*/ |
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
161 |
4359 | 162 /************************************************************************** |
163 * @name GTK+ Conversation API | |
164 **************************************************************************/ | |
5673
62f57ec16f29
[gaim-migrate @ 6091]
Christian Hammond <chipx86@chipx86.com>
parents:
5167
diff
changeset
|
165 /*@{*/ |
62f57ec16f29
[gaim-migrate @ 6091]
Christian Hammond <chipx86@chipx86.com>
parents:
5167
diff
changeset
|
166 |
62f57ec16f29
[gaim-migrate @ 6091]
Christian Hammond <chipx86@chipx86.com>
parents:
5167
diff
changeset
|
167 /** |
10814
364a2ef907ae
[gaim-migrate @ 12468]
Luke Schierer <lschiere@pidgin.im>
parents:
10810
diff
changeset
|
168 * Returns the UI operations structure for GTK+ conversations. |
4359 | 169 * |
10814
364a2ef907ae
[gaim-migrate @ 12468]
Luke Schierer <lschiere@pidgin.im>
parents:
10810
diff
changeset
|
170 * @return The GTK+ conversation operations structure. |
4359 | 171 */ |
7035
feb3d21a7794
[gaim-migrate @ 7598]
Christian Hammond <chipx86@chipx86.com>
parents:
6771
diff
changeset
|
172 GaimConversationUiOps *gaim_gtk_conversations_get_conv_ui_ops(void); |
4359 | 173 |
174 /** | |
175 * Updates the buddy icon on a conversation. | |
176 * | |
177 * @param conv The conversation. | |
178 */ | |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
179 void gaim_gtkconv_update_buddy_icon(GaimConversation *conv); |
4359 | 180 |
181 /** | |
11911
fe12abd6b879
[gaim-migrate @ 14202]
Richard Laager <rlaager@wiktel.com>
parents:
11690
diff
changeset
|
182 * Sets the active conversation within a GTK-conversation. |
fe12abd6b879
[gaim-migrate @ 14202]
Richard Laager <rlaager@wiktel.com>
parents:
11690
diff
changeset
|
183 * |
fe12abd6b879
[gaim-migrate @ 14202]
Richard Laager <rlaager@wiktel.com>
parents:
11690
diff
changeset
|
184 * @param conv The conversation |
fe12abd6b879
[gaim-migrate @ 14202]
Richard Laager <rlaager@wiktel.com>
parents:
11690
diff
changeset
|
185 */ |
fe12abd6b879
[gaim-migrate @ 14202]
Richard Laager <rlaager@wiktel.com>
parents:
11690
diff
changeset
|
186 void gaim_gtkconv_switch_active_conversation(GaimConversation *conv); |
fe12abd6b879
[gaim-migrate @ 14202]
Richard Laager <rlaager@wiktel.com>
parents:
11690
diff
changeset
|
187 |
fe12abd6b879
[gaim-migrate @ 14202]
Richard Laager <rlaager@wiktel.com>
parents:
11690
diff
changeset
|
188 /** |
4359 | 189 * Updates the tab positions on all conversation windows to reflect any |
190 * changed preferences. | |
191 */ | |
192 void gaim_gtkconv_update_tabs(void); | |
193 | |
194 /** | |
195 * Updates conversation buttons by protocol. | |
196 * | |
197 * @param conv The conversation. | |
198 */ | |
5676
dae79aefac8d
[gaim-migrate @ 6094]
Christian Hammond <chipx86@chipx86.com>
parents:
5674
diff
changeset
|
199 void gaim_gtkconv_update_buttons_by_protocol(GaimConversation *conv); |
4359 | 200 |
12021
1a86417abfc8
[gaim-migrate @ 14314]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11911
diff
changeset
|
201 /** |
12468
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
202 * Returns a list of conversations of the given type which have an unseen |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
203 * state greater than or equal to the specified minimum state. Using the |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
204 * hidden_only parameter, this search can be limited to hidden |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
205 * conversations. The max_count parameter will limit the total number of |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
206 * converations returned if greater than zero. The returned list should |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
207 * be freed by the caller. |
12021
1a86417abfc8
[gaim-migrate @ 14314]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11911
diff
changeset
|
208 * |
12468
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
209 * @param type The type of conversation. |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
210 * @param min_state The minimum unseen state. |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
211 * @param hidden_only If TRUE, only consider hidden conversations. |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
212 * @param max_count Maximum number of conversations to return, or 0 for |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
213 * no maximum. |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
214 * @return List of GaimConversation matching criteria, or NULL. |
12021
1a86417abfc8
[gaim-migrate @ 14314]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11911
diff
changeset
|
215 */ |
12468
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
216 GList * |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
217 gaim_gtk_conversations_find_unseen_list(GaimConversationType type, |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
218 GaimUnseenState min_state, |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
219 gboolean hidden_only, |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
220 guint max_count); |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
221 |
12175
a655bdeb561d
[gaim-migrate @ 14477]
Richard Laager <rlaager@wiktel.com>
parents:
12132
diff
changeset
|
222 /** |
12468
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
223 * Fill a menu with a list of conversations. Clicking the conversation |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
224 * menu item will present that conversation to the user. |
12175
a655bdeb561d
[gaim-migrate @ 14477]
Richard Laager <rlaager@wiktel.com>
parents:
12132
diff
changeset
|
225 * |
12468
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
226 * @param menu Menu widget to add items to. |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
227 * @param convs List of GaimConversation to add to menu. |
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
228 * @return Number of conversations added to menu. |
12175
a655bdeb561d
[gaim-migrate @ 14477]
Richard Laager <rlaager@wiktel.com>
parents:
12132
diff
changeset
|
229 */ |
a655bdeb561d
[gaim-migrate @ 14477]
Richard Laager <rlaager@wiktel.com>
parents:
12132
diff
changeset
|
230 guint |
12468
6faefbebcd24
[gaim-migrate @ 14778]
Richard Laager <rlaager@wiktel.com>
parents:
12239
diff
changeset
|
231 gaim_gtk_conversations_fill_menu(GtkWidget *menu, GList *convs); |
12021
1a86417abfc8
[gaim-migrate @ 14314]
Daniel Atallah <daniel.atallah@gmail.com>
parents:
11911
diff
changeset
|
232 |
12116
e75ef7aa913e
[gaim-migrate @ 14416]
Luke Schierer <lschiere@pidgin.im>
parents:
12021
diff
changeset
|
233 /** |
e75ef7aa913e
[gaim-migrate @ 14416]
Luke Schierer <lschiere@pidgin.im>
parents:
12021
diff
changeset
|
234 * Presents a gaim conversation to the user. |
e75ef7aa913e
[gaim-migrate @ 14416]
Luke Schierer <lschiere@pidgin.im>
parents:
12021
diff
changeset
|
235 * |
e75ef7aa913e
[gaim-migrate @ 14416]
Luke Schierer <lschiere@pidgin.im>
parents:
12021
diff
changeset
|
236 * @param conv The conversation. |
e75ef7aa913e
[gaim-migrate @ 14416]
Luke Schierer <lschiere@pidgin.im>
parents:
12021
diff
changeset
|
237 */ |
e75ef7aa913e
[gaim-migrate @ 14416]
Luke Schierer <lschiere@pidgin.im>
parents:
12021
diff
changeset
|
238 void gaim_gtkconv_present_conversation(GaimConversation *conv); |
e75ef7aa913e
[gaim-migrate @ 14416]
Luke Schierer <lschiere@pidgin.im>
parents:
12021
diff
changeset
|
239 |
11581 | 240 GaimGtkWindow *gaim_gtkconv_get_window(GaimGtkConversation *gtkconv); |
241 GdkPixbuf *gaim_gtkconv_get_tab_icon(GaimConversation *conv, gboolean small_icon); | |
242 void gaim_gtkconv_new(GaimConversation *conv); | |
11614 | 243 int gaim_gtkconv_get_tab_at_xy(GaimGtkWindow *win, int x, int y, gboolean *to_right); |
12239 | 244 gboolean gaim_gtkconv_is_hidden(GaimGtkConversation *gtkconv); |
5673
62f57ec16f29
[gaim-migrate @ 6091]
Christian Hammond <chipx86@chipx86.com>
parents:
5167
diff
changeset
|
245 /*@}*/ |
62f57ec16f29
[gaim-migrate @ 6091]
Christian Hammond <chipx86@chipx86.com>
parents:
5167
diff
changeset
|
246 |
8582
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
247 /**************************************************************************/ |
12832
0c6a0362a48f
[gaim-migrate @ 15180]
Richard Laager <rlaager@wiktel.com>
parents:
12468
diff
changeset
|
248 /** @name GTK+ Conversations Subsystem */ |
8582
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
249 /**************************************************************************/ |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
250 /*@{*/ |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
251 |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
252 /** |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
253 * Returns the gtk conversations subsystem handle. |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
254 * |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
255 * @return The conversations subsystem handle. |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
256 */ |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
257 void *gaim_gtk_conversations_get_handle(void); |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
258 |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
259 /** |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
260 * Initializes the GTK+ conversations subsystem. |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
261 */ |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
262 void gaim_gtk_conversations_init(void); |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
263 |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
264 /** |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
265 * Uninitialized the GTK+ conversation subsystem. |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
266 */ |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
267 void gaim_gtk_conversations_uninit(void); |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
268 |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
269 /*@}*/ |
d7c85220c685
[gaim-migrate @ 9332]
Christian Hammond <chipx86@chipx86.com>
parents:
8317
diff
changeset
|
270 |
9713 | 271 #endif /* _GAIM_GTKCONVERSATION_H_ */ |