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

Linux/Unix编程

开发平台:

Visual C++

  1. /***************************************************************************
  2.                           icqwindow.cpp  -  description
  3.                              -------------------
  4.     begin                : Thu Apr 4 2002
  5.     copyright            : (C) 2002 by Zhang Yong
  6.     email                : z-yong163@163.com
  7.  ***************************************************************************/
  8. /***************************************************************************
  9.  *                                                                         *
  10.  *   This program is free software; you can redistribute it and/or modify  *
  11.  *   it under the terms of the GNU General Public License as published by  *
  12.  *   the Free Software Foundation; either version 2 of the License, or     *
  13.  *   (at your option) any later version.                                   *
  14.  *                                                                         *
  15.  ***************************************************************************/
  16. #include "icqwindow.h"
  17. #include "icqlink.h"
  18. IcqWindow::IcqWindow(int type, uint32 uin)
  19. {
  20. this->type = type;
  21. this->uin = uin;
  22. seq = 0;
  23. icqLink->windowList.push_back(this);
  24. }
  25. IcqWindow::~IcqWindow()
  26. {
  27. icqLink->windowList.remove(this);
  28. }