00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <Swiften/Elements/Element.h>
00010
00011 namespace Swift {
00012 class CompressRequest : public Element
00013 {
00014 public:
00015 CompressRequest(const std::string& method = "") : method_(method) {}
00016
00017 const std::string& getMethod() const {
00018 return method_;
00019 }
00020
00021 void setMethod(const std::string& method) {
00022 method_ = method;
00023 }
00024
00025 private:
00026 std::string method_;
00027 };
00028 }