Clean up the code.

This commit is contained in:
Jonathan Schleifer 2011-02-16 21:05:14 +01:00
parent fa59d3ce32
commit 4690b47ae9
11 changed files with 186 additions and 184 deletions

View file

@ -1,21 +1,18 @@
#import "XMPPStanza.h"
/**
* \brief A class describing a message stanza
* \brief A class describing a message stanza.
*/
@interface XMPPMessage: XMPPStanza
{
}
/**
* Creates a new XMPPMessage
* Creates a new autoreleased XMPPMessage.
*
* \return A new autoreleased XMPPMessage
*/
+ message;
/**
* Creates a new XMPPMessage with a certain id
* Creates a new autoreleased XMPPMessage with the specified id.
*
* \param ID The value for the stanza's id attribute
* \return A new autoreleased XMPPMessage
@ -23,7 +20,7 @@
+ messageWithID: (OFString*)ID;
/**
* Creates a new XMPPMessage with a certain type
* Creates a new autoreleased XMPPMessage with the specified type.
*
* \param type The value for the stanza's type attribute
* \return A new autoreleased XMPPMessage
@ -31,7 +28,7 @@
+ messageWithType: (OFString*)type;
/**
* Creates a new XMPPMessage with a certain type and id
* Creates a new autoreleased XMPPMessage with the specified type and id.
*
* \param type The value for the stanza's type attribute
* \param ID The value for the stanza's id attribute
@ -41,14 +38,14 @@
ID: (OFString*)ID;
/**
* Initializes an already allocated XMPPMessage
* Initializes an already allocated XMPPMessage.
*
* \return A initialized XMPPMessage
*/
- init;
/**
* Initializes an already allocated XMPPMessage with a certain id
* Initializes an already allocated XMPPMessage with the specified id.
*
* \param ID The value for the stanza's id attribute
* \return A initialized XMPPMessage
@ -56,7 +53,7 @@
- initWithID: (OFString*)ID;
/**
* Initializes an already allocated XMPPMessage with a certain type
* Initializes an already allocated XMPPMessage with the specified type.
*
* \param type The value for the stanza's type attribute
* \return A initialized XMPPMessage
@ -64,7 +61,7 @@
- initWithType: (OFString*)type;
/**
* Initializes an already allocated XMPPMessage with a certain type and id
* Initializes an already allocated XMPPMessage with the specified type and id.
*
* \param type The value for the stanza's type attribute
* \param ID The value for the stanza's id attribute