diff options
Diffstat (limited to 'Swiften/Elements/CompressRequest.h')
| -rw-r--r-- | Swiften/Elements/CompressRequest.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Elements/CompressRequest.h b/Swiften/Elements/CompressRequest.h index b6fcc64..9e2e267 100644 --- a/Swiften/Elements/CompressRequest.h +++ b/Swiften/Elements/CompressRequest.h @@ -1,28 +1,28 @@ /* - * Copyright (c) 2010 Remko Tronçon + * Copyright (c) 2010-2014 Remko Tronçon * Licensed under the GNU General Public License v3. * See Documentation/Licenses/GPLv3.txt for more information. */ #pragma once -#include <Swiften/Elements/Element.h> +#include <Swiften/Elements/ToplevelElement.h> namespace Swift { - class CompressRequest : public Element + class CompressRequest : public ToplevelElement { public: CompressRequest(const std::string& method = "") : method_(method) {} const std::string& getMethod() const { return method_; } void setMethod(const std::string& method) { method_ = method; } private: std::string method_; }; } |
Swift