4687
|
1 /*
|
|
2 * gaim
|
|
3 *
|
|
4 * Copyright (C) 1998-2003, 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
|
|
22 #ifndef _POUNCE_H_
|
|
23 #define _POUNCE_H_
|
|
24
|
|
25 struct buddy_pounce {
|
|
26 char name[80];
|
|
27 char message[2048];
|
|
28 char command[2048];
|
|
29 char sound[2048];
|
|
30
|
|
31 char pouncer[80];
|
|
32 int protocol;
|
|
33
|
|
34 int options;
|
|
35 };
|
|
36
|
|
37 struct addbp {
|
|
38 GtkWidget *window;
|
|
39 GtkWidget *nameentry;
|
|
40 GtkWidget *messentry;
|
|
41 GtkWidget *commentry;
|
|
42 GtkWidget *command;
|
|
43 GtkWidget *sendim;
|
|
44 GtkWidget *openwindow;
|
|
45 GtkWidget *popupnotify;
|
|
46 GtkWidget *p_signon;
|
|
47 GtkWidget *p_unaway;
|
|
48 GtkWidget *p_unidle;
|
|
49 GtkWidget *p_typing;
|
|
50 GtkWidget *save;
|
|
51 GtkWidget *menu;
|
|
52 GtkWidget *sound;
|
|
53 GtkWidget *soundentry;
|
|
54
|
|
55 struct gaim_account *account;
|
|
56 struct buddy_pounce *buddy_pounce;
|
|
57 };
|
|
58
|
|
59 void rem_bp(GtkWidget *w, struct buddy_pounce *b);
|
|
60
|
|
61 void do_pounce(struct gaim_connection *gc, char *name, int when);
|
|
62
|
|
63 void do_bp_menu();
|
|
64
|
|
65 #endif /* _POUNCE_H_ */
|