contactinfo.h
上传用户:zslianheng
上传日期:2013-04-03
资源大小:946k
文件大小:1k
源码类别:

Linux/Unix编程

开发平台:

Visual C++

  1. /***************************************************************************
  2.  *                                                                         *
  3.  *   This program is free software; you can redistribute it and/or modify  *
  4.  *   it under the terms of the GNU General Public License as published by  *
  5.  *   the Free Software Foundation; either version 2 of the License, or     *
  6.  *   (at your option) any later version.                                   *
  7.  *                                                                         *
  8.  *   copyright            : (C) 2002 by Zhang Yong                         *
  9.  *   email                : z-yong163@163.com                              *
  10.  ***************************************************************************/
  11. #ifndef _CONTACT_INFO_H
  12. #define _CONTACT_INFO_H
  13. #include "icqtypes.h"
  14. enum {
  15. STATUS_ONLINE,
  16. STATUS_OFFLINE,
  17. STATUS_AWAY,
  18. STATUS_INVIS
  19. };
  20. class ContactInfo {
  21. public:
  22. uint32 uin;
  23. string nick;
  24. uint8 face;
  25. uint8 gender;
  26. uint8 age;
  27. string country;
  28. string province;
  29. string city;
  30. string email;
  31. string address;
  32. string zipcode;
  33. string tel;
  34. string name;
  35. uint8 blood;
  36. string college;
  37. string profession;
  38. string homepage;
  39. string intro;
  40. uint32 status;
  41. };
  42. #endif