Remove a redundant Body definition

This commit is contained in:
louiz’
2017-10-04 21:51:58 +02:00
parent 95ae49ef4d
commit 1c3d4f6f5f
2 changed files with 6 additions and 10 deletions
+2 -10
View File
@@ -6,20 +6,12 @@
* vice versa. * vice versa.
*/ */
#include <xmpp/body.hpp>
#include <string> #include <string>
#include <memory> #include <memory>
#include <tuple> #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_BOLD_CHAR '\x02' // done
#define IRC_FORMAT_COLOR_CHAR '\x03' // done #define IRC_FORMAT_COLOR_CHAR '\x03' // done
#define IRC_FORMAT_RESET_CHAR '\x0F' // done #define IRC_FORMAT_RESET_CHAR '\x0F' // done
+4
View File
@@ -1,5 +1,9 @@
#pragma once #pragma once
#include <tuple>
#include <memory>
class XmlNode;
namespace Xmpp namespace Xmpp
{ {