diff options
author | louiz’ <louiz@louiz.org> | 2017-09-21 21:57:01 +0200 |
---|---|---|
committer | louiz’ <louiz@louiz.org> | 2017-10-04 21:51:58 +0200 |
commit | 1c3d4f6f5fdf5829e931770523251abe9522914b (patch) | |
tree | 8f6cc63bbab5f98018a87eb9d8df358910d68ac9 | |
parent | 95ae49ef4dfdeffec0895e617e557b2ef1f13888 (diff) | |
download | biboumi-1c3d4f6f5fdf5829e931770523251abe9522914b.tar.gz biboumi-1c3d4f6f5fdf5829e931770523251abe9522914b.tar.bz2 biboumi-1c3d4f6f5fdf5829e931770523251abe9522914b.tar.xz biboumi-1c3d4f6f5fdf5829e931770523251abe9522914b.zip |
Remove a redundant Body definition
-rw-r--r-- | src/bridge/colors.hpp | 12 | ||||
-rw-r--r-- | src/xmpp/body.hpp | 4 |
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 { |