Files
@ 7500ab6c4c30
Branch filter:
Location: libtransport.git/include/Swiften/Elements/XHTMLIMPayload.h - annotation
7500ab6c4c30
531 B
text/plain
Libtransport: Fix memory leak in HTTPRequest, initialize CURL in the same thread as we use for its cleanup
64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c 64f1921f8d5c | /*
* Copyright (c) 2011 Jan Kaluza
* Licensed under the Simplified BSD license.
* See Documentation/Licenses/BSD-simplified.txt for more information.
*/
#pragma once
#include <vector>
#include <string>
#include <Swiften/Elements/Payload.h>
namespace Swift {
class XHTMLIMPayload : public Payload {
public:
XHTMLIMPayload(const std::string &body = "");
const std::string& getBody() const { return body_; }
void setBody(const std::string& body) {
body_ = body;
}
private:
std::string body_;
};
}
|