From 4cd88a87e66dbbb9be4137de04ad79c97ac5bf2c Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 8 Jul 2008 17:56:18 +0200 Subject: Einzelne Request-Klassen hinzugef?gt --- src/Common/Request.h | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) delete mode 100644 src/Common/Request.h (limited to 'src/Common/Request.h') 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 - * - * 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 . - */ - -#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_ */ -- cgit v1.2.3