Remove a redundant Body definition
This commit is contained in:
+2
-10
@@ -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
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <tuple>
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
class XmlNode;
|
||||||
|
|
||||||
namespace Xmpp
|
namespace Xmpp
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user