summaryrefslogtreecommitdiff
path: root/src/bridge
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-09-21 21:57:01 +0200
committerlouiz’ <louiz@louiz.org>2017-10-04 21:51:58 +0200
commit1c3d4f6f5fdf5829e931770523251abe9522914b (patch)
tree8f6cc63bbab5f98018a87eb9d8df358910d68ac9 /src/bridge
parent95ae49ef4dfdeffec0895e617e557b2ef1f13888 (diff)
downloadbiboumi-1c3d4f6f5fdf5829e931770523251abe9522914b.tar.gz
biboumi-1c3d4f6f5fdf5829e931770523251abe9522914b.tar.bz2
biboumi-1c3d4f6f5fdf5829e931770523251abe9522914b.tar.xz
biboumi-1c3d4f6f5fdf5829e931770523251abe9522914b.zip
Remove a redundant Body definition
Diffstat (limited to 'src/bridge')
-rw-r--r--src/bridge/colors.hpp12
1 files changed, 2 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