Mercurial > pidgin.yaz
annotate src/convo.h @ 4194:9325df841a40
[gaim-migrate @ 4425]
This is what happens when our cable goes down for a few hours.
Dear Time Warner,
Speaking as a customer, you suck.
-Your friendly neighborhood ant
So like, I went through and fixed pretty much every call to debug_printf,
so that it uses the correct %whatever's. I also changed a lot of va_arg
stuff to make it more uniform. The va_arg man page says that the return
value does not need to be cast, but if this is not true on all operating
systems, somebody lemme know and I'll fix it.
Oh, the few compile warnings that aren't fixed interfere with my SSI
stuff. I'll commit fixes for that along with the ICQ SSI stuff. I'm
trying to get it done before school starts on Thursday.
Keyword: Trying.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sat, 04 Jan 2003 06:11:37 +0000 |
parents | 12b29552f1d7 |
children | 5fb47ec9bfe4 |
rev | line source |
---|---|
472 | 1 /* |
2 * gaim | |
3 * | |
4 * Copyright (C) 1998-1999, Mark Spencer <markster@marko.net> | |
5 * | |
6 * This program is free software; you can redistribute it and/or modify | |
7 * it under the terms of the GNU General Public License as published by | |
8 * the Free Software Foundation; either version 2 of the License, or | |
9 * (at your option) any later version. | |
10 * | |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
19 * | |
20 */ | |
21 | |
2417
5473c8c5378d
[gaim-migrate @ 2430]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2385
diff
changeset
|
22 #ifndef _CONVO_H_ |
5473c8c5378d
[gaim-migrate @ 2430]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2385
diff
changeset
|
23 #define _CONVO_H_ |
472 | 24 |
25 #include <gtk/gtk.h> | |
26 #include "gaim.h" | |
27 | |
3716
d7e83b4db191
[gaim-migrate @ 3849]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
2856
diff
changeset
|
28 #if 0 |
909
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
29 #include "pixmaps/tmp_send.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
30 #include "pixmaps/gnome_remove.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
31 #include "pixmaps/gnome_add.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
32 #include "pixmaps/cancel.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
33 #include "pixmaps/warn.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
34 #include "pixmaps/tb_search.xpm" |
9f2afe5faed5
[gaim-migrate @ 919]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
907
diff
changeset
|
35 #include "pixmaps/block.xpm" |
3716
d7e83b4db191
[gaim-migrate @ 3849]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
2856
diff
changeset
|
36 #endif |
472 | 37 |
2843
87d11d2a7d59
[gaim-migrate @ 2856]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
38 extern GtkWidget *convo_notebook; |
87d11d2a7d59
[gaim-migrate @ 2856]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
39 extern GtkWidget *chat_notebook; |
87d11d2a7d59
[gaim-migrate @ 2856]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
40 |
472 | 41 /* we declare all of the global functions for chat and IM windows here, so |
42 * that it's easy to keep them merged. */ | |
43 | |
44 /* chat first */ | |
45 extern void im_callback(GtkWidget *, struct conversation *); | |
46 extern void ignore_callback(GtkWidget *, struct conversation *); | |
47 extern void whisper_callback(GtkWidget *, struct conversation *); | |
48 extern void invite_callback(GtkWidget *, struct conversation *); | |
2385
bdc74764245c
[gaim-migrate @ 2398]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2379
diff
changeset
|
49 extern void tab_complete(struct conversation *c); |
472 | 50 |
51 /* now IM */ | |
52 extern void warn_callback(GtkWidget *, struct conversation *); | |
53 extern void block_callback(GtkWidget *, struct conversation *); | |
54 extern void add_callback(GtkWidget *, struct conversation *); | |
55 | |
56 /* now both */ | |
2379
cacaf7ace3a5
[gaim-migrate @ 2392]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
57 extern int set_dispstyle (int); |
472 | 58 extern void info_callback(GtkWidget *, struct conversation *); |
3790 | 59 extern void do_bold(GtkWidget *, struct conversation *); |
60 extern void do_italic(GtkWidget *, struct conversation *); | |
61 extern void do_underline(GtkWidget *, struct conversation *); | |
62 extern void do_strike(GtkWidget *, struct conversation *); | |
63 extern void do_small(GtkWidget *, struct conversation *); | |
64 extern void do_normal(GtkWidget *, struct conversation *); | |
65 extern void do_big(GtkWidget *, struct conversation *); | |
472 | 66 extern void toggle_font(GtkWidget *, struct conversation *); |
67 extern void toggle_color(GtkWidget *, struct conversation *); | |
68 extern void toggle_loggle(GtkWidget *, struct conversation *); | |
555 | 69 extern void insert_smiley(GtkWidget *, struct conversation *); |
472 | 70 /* sound is handled by set_option */ |
71 extern gboolean keypress_callback(GtkWidget *, GdkEventKey *, struct conversation *); | |
3790 | 72 extern gboolean stop_rclick_callback(GtkWidget *, GdkEventButton *, gpointer); |
907
08d5037c9296
[gaim-migrate @ 917]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
608
diff
changeset
|
73 extern void check_spelling( GtkEditable *, gchar *, gint, gint *, gpointer); |
3790 | 74 extern int entry_key_pressed(GtkTextBuffer *); |
472 | 75 |
2843
87d11d2a7d59
[gaim-migrate @ 2856]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
76 extern void convo_switch(GtkNotebook *, GtkWidget *, gint, gpointer); |
87d11d2a7d59
[gaim-migrate @ 2856]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
77 extern gint delete_all_convo(GtkWidget *, GdkEventAny *, gpointer); |
87d11d2a7d59
[gaim-migrate @ 2856]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2417
diff
changeset
|
78 |
472 | 79 extern GtkWidget *build_conv_toolbar(struct conversation *); |
80 | |
81 extern void send_callback(GtkWidget *, struct conversation *); | |
82 extern int close_callback(GtkWidget *, struct conversation *); | |
83 | |
2856
b1e300a85678
[gaim-migrate @ 2869]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2843
diff
changeset
|
84 extern gboolean meify(char *, int); |
472 | 85 |
2417
5473c8c5378d
[gaim-migrate @ 2430]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2385
diff
changeset
|
86 #endif /* _CONVO_H_ */ |