diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2008-07-08 17:56:18 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2008-07-08 17:56:18 +0200 |
commit | 4cd88a87e66dbbb9be4137de04ad79c97ac5bf2c (patch) | |
tree | 23cf0d1ff55b3b1c4eefd3dd7fe2b7c0eb719a43 /src/Common/Request.h | |
parent | e000cdf9d31433c4e90a8b59415de5ac8377005d (diff) | |
download | mad-4cd88a87e66dbbb9be4137de04ad79c97ac5bf2c.tar mad-4cd88a87e66dbbb9be4137de04ad79c97ac5bf2c.zip |
Einzelne Request-Klassen hinzugef?gt
Diffstat (limited to 'src/Common/Request.h')
-rw-r--r-- | src/Common/Request.h | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/Common/Request.h b/src/Common/Request.h deleted file mode 100644 index b537b66..0000000 --- a/src/Common/Request.h +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Request.h - * - * Copyright (C) 2008 Matthias Schiffer <matthias@gamezock.de> - * - * This program is free software: you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the - * Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. - * See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along - * with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#ifndef MAD_COMMON_REQUEST_H_ -#define MAD_COMMON_REQUEST_H_ - -namespace Mad { - -namespace Common { - -class Request { - public: - enum Type { - TYPE_PING, TYPE_DISCONNECT - }; - - private: - Type type; - - public: - Request(Type type0) : type(type0) {} - - Type getType() const {return type;} -}; - -} - -} - -#endif /* MAD_COMMON_REQUEST_H_ */ |