kgameerror.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __KGAMEERROR_H_
00024 #define __KGAMEERROR_H_
00025
00026 #include <qstring.h>
00027
00028
00029 class KGameError
00030 {
00031 public:
00032 KGameError() { }
00033 ~KGameError() { }
00034
00035 enum ErrorCodes {
00036 Cookie = 0,
00037 Version = 1
00038 };
00039
00043 static QByteArray errCookie(int localCookie, int remoteCookie);
00044 static QByteArray errVersion(int remoteVersion);
00045
00054 static QString errorText(int errorCode, QDataStream& message);
00055 static QString errorText(int errorCode, const QByteArray& message);
00056
00057 };
00058
00059 #endif
This file is part of the documentation for libkdegames Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun Apr 18 06:22:52 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003