diff options
Diffstat (limited to 'Swiften/Elements/JingleS5BTransportPayload.h')
-rw-r--r-- | Swiften/Elements/JingleS5BTransportPayload.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Swiften/Elements/JingleS5BTransportPayload.h b/Swiften/Elements/JingleS5BTransportPayload.h new file mode 100644 index 0000000..7b3089f --- /dev/null +++ b/Swiften/Elements/JingleS5BTransportPayload.h @@ -0,0 +1,28 @@ +/* + * Copyright (c) 2011 Remko Tronçon + * Licensed under the GNU General Public License v3. + * See Documentation/Licenses/GPLv3.txt for more information. + */ + +#pragma once + +#include <Swiften/Elements/JingleTransportPayload.h> +#include <Swiften/Elements/Bytestreams.h> + +// FIXME: Remove Bytestreams, and replace by our own candidate + +namespace Swift { + class JingleS5BTransportPayload : public JingleTransportPayload { + public: + const Bytestreams& getInfo() const { + return info; + } + + void setInfo(const Bytestreams& info) { + this->info = info; + } + + private: + Bytestreams info; + }; +} |