@@ -1,10 +1,10 @@ /* - * Copyright (c) 2011, Jonathan Schleifer + * Copyright (c) 2011, 2012, 2013, 2016, Jonathan Schleifer * Copyright (c) 2011, Florian Zeitz * - * https://webkeks.org/git/?p=objxmpp.git + * https://heap.zone/git/?p=objxmpp.git * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice is present in all copies. * @@ -25,14 +25,12 @@ /** * \brief A class describing a message stanza. */ @interface XMPPMessage: XMPPStanza -#ifdef OF_HAVE_PROPERTIES -/// \brief The text content of the body of the message +/** The text content of the body of the message. */ @property (copy) OFString *body; -#endif /** * \brief Creates a new autoreleased XMPPMessage. * * \return A new autoreleased XMPPMessage @@ -89,20 +87,6 @@ * \param ID The value for the stanza's id attribute * \return A initialized XMPPMessage */ - initWithType: (OFString*)type ID: (OFString*)ID; - -/** - * \brief Sets the text content of the body of the XMPPMessage. - * - * \param body The text content of the body element or nil to remove the body - */ -- (void)setBody: (OFString*)body; - -/** - * \brief Returns the text content of the body element of the XMPPMessage. - * - * \return The text content of the body element of the XMPPMessage. - */ -- (OFString*)body; @end