summaryrefslogtreecommitdiff
path: root/src/xmpp/body.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/xmpp/body.hpp')
-rw-r--r--src/xmpp/body.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/xmpp/body.hpp b/src/xmpp/body.hpp
new file mode 100644
index 0000000..068d1a4
--- /dev/null
+++ b/src/xmpp/body.hpp
@@ -0,0 +1,12 @@
+#pragma once
+
+
+namespace Xmpp
+{
+// Contains:
+// - an XMPP-valid UTF-8 body
+// - an XML node representing the XHTML-IM body, or null
+ using body = std::tuple<const std::string, std::unique_ptr<XmlNode>>;
+}
+
+