icqlinkbase.h
Upload User: zslianheng
Upload Date: 2013-04-03
Package Size: 946k
Code Size: 1k
Development Platform:

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 _ICQ_LINK_BASE_H
  12. #define _ICQ_LINK_BASE_H
  13. #include "icqtypes.h"
  14. class ContactInfo;
  15. class TcpSessionBase;
  16. class TcpSessionListener;
  17. class IcqLinkBase {
  18. public:
  19. virtual TcpSessionBase *createTcpSession(TcpSessionListener *l, uint32 ip, uint16 port) = 0;
  20. virtual ContactInfo *getContactInfo(uint32 uin) = 0;
  21. virtual void *getFaceIcon(int face, int status) = 0;
  22. virtual void popupMsg(void *icon, const char *text, uint32 t) = 0;
  23. };
  24. #endif