icqprofile.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_PROFILE_H
  12. #define _ICQ_PROFILE_H
  13. #include "icqtypes.h"
  14. class IcqProfile {
  15. public:
  16. virtual void writeBool(const char *key, bool b) = 0;
  17. virtual void writeString(const char *key, const char *val) = 0;
  18. virtual void writeInt(const char *key, int val) = 0;
  19. virtual void writePassword(const char *key, const char *passwd) = 0;
  20. virtual bool readBool(const char *key) = 0;
  21. virtual void readString(const char *key, string &val) = 0;
  22. virtual int readInt(const char *key) = 0;
  23. virtual void readPassword(const char *key, string &passwd) = 0;
  24. };
  25. #endif