Files @ daeb6dfc9a9f
Branch filter:

Location: libtransport.git/include/Swiften/Elements/XHTMLIMPayload.h

Conrad Kostecki
Enable support for Qt5

Since Qt4 is EOL, we should also support libcommuni build with Qt5.
In order not to break Fedora docker builds, -DENABLE_QT4 is introduced.

When set to 'ON', support for Qt4 is being enabled,
otherwise support for Qt5 is enabled.

Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
/*
 * 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_;
	};
}