/**
 * The QQ2003C protocol plugin
 *
 * for gaim
 *
 * Copyright (C) 2004 Puzzlebird
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 */

// START OF FILE
/*****************************************************************************/
#ifndef _QQ_INFODLG_H_
#define _QQ_INFODLG_H_

#include <glib.h>
#include <gtk/gtk.h>
#include "connection.h"		// GaimConnection

#include "buddy_info.h"		// contact_info
#include "qq.h"			// qq_data

typedef struct _contact_info_window contact_info_window;

struct _contact_info_window {
	guint32 uid;
	GtkWidget *window;
	GtkWidget *refresh_button;
	GtkWidget *uid_entry,
	    *face,
	    *nick,
	    *country,
	    *age,
	    *gender,
	    *province,
	    *city,
	    *email,
	    *address, *zipcode, *tel, *name, *blood, *college, *occupation, *zodiac, *horoscope, *homepage, *intro;
	GtkWidget *open_contact_radio[3];
	GtkWidget *auth_radio[3], *is_modify_passwd, *old_password, *password[2];
	contact_info *old_info;
};

void qq_contact_info_window_free(qq_data * qd);

void qq_show_contact_info_dialog(contact_info * info, GaimConnection * gc, contact_info_window * info_window);
void qq_refresh_contact_info_dialog(contact_info * info, GaimConnection * gc, contact_info_window * info_window);

#endif
/*****************************************************************************/
// END OF FILE
