summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bridge/colors.hpp12
-rw-r--r--src/xmpp/body.hpp4
2 files changed, 6 insertions, 10 deletions
diff --git a/src/bridge/colors.hpp b/src/bridge/colors.hpp
index dceed74..25b085a 100644
--- a/src/bridge/colors.hpp
+++ b/src/bridge/colors.hpp
@@ -6,20 +6,12 @@
* vice versa.
*/
+#include <xmpp/body.hpp>
+
#include <string>
#include <memory>
#include <tuple>
-class XmlNode;
-
-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>>;
-}
-
#define IRC_FORMAT_BOLD_CHAR '\x02' // done
#define IRC_FORMAT_COLOR_CHAR '\x03' // done
#define IRC_FORMAT_RESET_CHAR '\x0F' // done
diff --git a/src/xmpp/body.hpp b/src/xmpp/body.hpp
index 068d1a4..f693cdd 100644
--- a/src/xmpp/body.hpp
+++ b/src/xmpp/body.hpp
@@ -1,5 +1,9 @@
#pragma once
+#include <tuple>
+#include <memory>
+
+class XmlNode;
namespace Xmpp
{