13870
|
1 /**
|
|
2 * The QQ2003C protocol plugin
|
|
3 *
|
|
4 * for gaim
|
|
5 *
|
|
6 * Copyright (C) 2004 Puzzlebird
|
|
7 *
|
|
8 * This program is free software; you can redistribute it and/or modify
|
|
9 * it under the terms of the GNU General Public License as published by
|
|
10 * the Free Software Foundation; either version 2 of the License, or
|
|
11 * (at your option) any later version.
|
|
12 *
|
|
13 * This program is distributed in the hope that it will be useful,
|
|
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 * GNU General Public License for more details.
|
|
17 *
|
|
18 * You should have received a copy of the GNU General Public License
|
|
19 * along with this program; if not, write to the Free Software
|
|
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
21 */
|
|
22
|
|
23 // START OF FILE
|
|
24 /*****************************************************************************/
|
|
25 #ifndef _QQ_INFODLG_H_
|
|
26 #define _QQ_INFODLG_H_
|
|
27
|
|
28 #include <glib.h>
|
|
29 #include <gtk/gtk.h>
|
|
30 #include "connection.h" // GaimConnection
|
|
31
|
|
32 #include "buddy_info.h" // contact_info
|
|
33 #include "qq.h" // qq_data
|
|
34
|
|
35 typedef struct _contact_info_window contact_info_window;
|
|
36
|
|
37 struct _contact_info_window {
|
|
38 guint32 uid;
|
|
39 GtkWidget *window;
|
|
40 GtkWidget *refresh_button;
|
|
41 GtkWidget *uid_entry,
|
|
42 *face,
|
|
43 *nick,
|
|
44 *country,
|
|
45 *age,
|
|
46 *gender,
|
|
47 *province,
|
|
48 *city,
|
|
49 *email,
|
|
50 *address, *zipcode, *tel, *name, *blood, *college, *occupation, *zodiac, *horoscope, *homepage, *intro;
|
|
51 GtkWidget *open_contact_radio[3];
|
|
52 GtkWidget *auth_radio[3], *is_modify_passwd, *old_password, *password[2];
|
|
53 contact_info *old_info;
|
|
54 };
|
|
55
|
|
56 void qq_contact_info_window_free(qq_data * qd);
|
|
57
|
|
58 void qq_show_contact_info_dialog(contact_info * info, GaimConnection * gc, contact_info_window * info_window);
|
|
59 void qq_refresh_contact_info_dialog(contact_info * info, GaimConnection * gc, contact_info_window * info_window);
|
|
60
|
|
61 #endif
|
|
62 /*****************************************************************************/
|
|
63 // END OF FILE
|