summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-04-20 18:48:38 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-04-23 07:53:50 (GMT)
commitb6246efcf15f03bb5b44bc79190bc9f4c7be9506 (patch)
treeb85028f8bca17b066512e0bad688b74fb7717a34 /Swiften/Serializer/StreamResumedSerializer.h
parentb381d4fac4c4362ab534ab73875126cb5c6cd101 (diff)
downloadswift-contrib-b6246efcf15f03bb5b44bc79190bc9f4c7be9506.zip
swift-contrib-b6246efcf15f03bb5b44bc79190bc9f4c7be9506.tar.bz2
Finished Stream Management parserialements.
Diffstat (limited to 'Swiften/Serializer/StreamResumedSerializer.h')
-rw-r--r--Swiften/Serializer/StreamResumedSerializer.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/Swiften/Serializer/StreamResumedSerializer.h b/Swiften/Serializer/StreamResumedSerializer.h
new file mode 100644
index 0000000..38d846f
--- /dev/null
+++ b/Swiften/Serializer/StreamResumedSerializer.h
@@ -0,0 +1,21 @@
+/*
+ * 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 <boost/shared_ptr.hpp>
+
+#include <Swiften/Elements/StreamResumed.h>
+#include <Swiften/Serializer/GenericElementSerializer.h>
+
+namespace Swift {
+ class StreamResumedSerializer : public GenericElementSerializer<StreamResumed> {
+ public:
+ StreamResumedSerializer();
+
+ virtual std::string serialize(boost::shared_ptr<Element>) const;
+ };
+}