diff options
Diffstat (limited to 'Swiften/Queries/Responders/SoftwareVersionResponder.h')
-rw-r--r-- | Swiften/Queries/Responders/SoftwareVersionResponder.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Swiften/Queries/Responders/SoftwareVersionResponder.h b/Swiften/Queries/Responders/SoftwareVersionResponder.h index 4418333..4bb3425 100644 --- a/Swiften/Queries/Responders/SoftwareVersionResponder.h +++ b/Swiften/Queries/Responders/SoftwareVersionResponder.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 Isode Limited. + * Copyright (c) 2010-2016 Isode Limited. * All rights reserved. * See the COPYING file for more information. */ @@ -7,24 +7,24 @@ #pragma once #include <Swiften/Base/API.h> -#include <Swiften/Queries/GetResponder.h> #include <Swiften/Elements/SoftwareVersion.h> +#include <Swiften/Queries/GetResponder.h> namespace Swift { - class IQRouter; + class IQRouter; - class SWIFTEN_API SoftwareVersionResponder : public GetResponder<SoftwareVersion> { - public: - SoftwareVersionResponder(IQRouter* router); + class SWIFTEN_API SoftwareVersionResponder : public GetResponder<SoftwareVersion> { + public: + SoftwareVersionResponder(IQRouter* router); - void setVersion(const std::string& client, const std::string& version, const std::string& os = ""); + void setVersion(const std::string& client, const std::string& version, const std::string& os = ""); - private: - virtual bool handleGetRequest(const JID& from, const JID& to, const std::string& id, boost::shared_ptr<SoftwareVersion> payload); + private: + virtual bool handleGetRequest(const JID& from, const JID& to, const std::string& id, std::shared_ptr<SoftwareVersion> payload); - private: - std::string client; - std::string version; - std::string os; - }; + private: + std::string client; + std::string version; + std::string os; + }; } |