From 415cd36477e152c12f91a10ad61bb719373cd9d1 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 23 Aug 2009 20:57:00 +0200 Subject: =?UTF-8?q?Authentifikation=20hinzugef=C3=BCgt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Common/Requests/AuthMethodRequest.h | 38 +++++++++++++++++++++++++++++++++ src/Common/Requests/FSInfoRequest.h | 2 -- src/Common/Requests/IdentifyRequest.h | 2 +- src/Common/Requests/StatusRequest.h | 2 -- 4 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 src/Common/Requests/AuthMethodRequest.h (limited to 'src/Common/Requests') diff --git a/src/Common/Requests/AuthMethodRequest.h b/src/Common/Requests/AuthMethodRequest.h new file mode 100644 index 0000000..e8199fd --- /dev/null +++ b/src/Common/Requests/AuthMethodRequest.h @@ -0,0 +1,38 @@ +/* + * AuthMethodRequest.h + * + * Copyright (C) 2009 Matthias Schiffer + * + * This program is free software: you can redistribute it and/or modify it + * under the terms of the GNU Lesser 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License along + * with this program. If not, see . + */ + +#ifndef MAD_COMMON_REQUESTS_AUTHMETHODREQUEST_H_ +#define MAD_COMMON_REQUESTS_AUTHMETHODREQUEST_H_ + +#include "SimpleRequest.h" + +namespace Mad { +namespace Common { +namespace Requests { + +class AuthMethodRequest : public SimpleRequest { + public: + AuthMethodRequest(Application *application) : SimpleRequest(application, "GetAuthMethods") {} +}; + +} +} +} + +#endif /* MAD_COMMON_REQUESTS_AUTHMETHODREQUEST_H_ */ diff --git a/src/Common/Requests/FSInfoRequest.h b/src/Common/Requests/FSInfoRequest.h index 14aff57..223b7a4 100644 --- a/src/Common/Requests/FSInfoRequest.h +++ b/src/Common/Requests/FSInfoRequest.h @@ -20,8 +20,6 @@ #ifndef MAD_COMMON_REQUESTS_FSINFOREQUEST_H_ #define MAD_COMMON_REQUESTS_FSINFOREQUEST_H_ -#include "../export.h" - #include "SimpleRequest.h" namespace Mad { diff --git a/src/Common/Requests/IdentifyRequest.h b/src/Common/Requests/IdentifyRequest.h index e2e1399..51b24dd 100644 --- a/src/Common/Requests/IdentifyRequest.h +++ b/src/Common/Requests/IdentifyRequest.h @@ -38,7 +38,7 @@ class MAD_COMMON_EXPORT IdentifyRequest : public Common::Request { virtual void sendRequest(); public: - IdentifyRequest(Application *application, const std::string &hostname0 = std::string()) : Request(application), hostname(hostname0) {} + IdentifyRequest(Application *application, const std::string &hostname0) : Request(application), hostname(hostname0) {} }; } diff --git a/src/Common/Requests/StatusRequest.h b/src/Common/Requests/StatusRequest.h index 0569a72..09f4d90 100644 --- a/src/Common/Requests/StatusRequest.h +++ b/src/Common/Requests/StatusRequest.h @@ -20,8 +20,6 @@ #ifndef MAD_COMMON_REQUESTS_STATUSREQUEST_H_ #define MAD_COMMON_REQUESTS_STATUSREQUEST_H_ -#include "../export.h" - #include "SimpleRequest.h" namespace Mad { -- cgit v1.2.3