Clean up the code.
This commit is contained in:
parent
fa59d3ce32
commit
4690b47ae9
11 changed files with 186 additions and 184 deletions
|
@ -1,21 +1,18 @@
|
|||
#import "XMPPStanza.h"
|
||||
|
||||
/**
|
||||
* \brief A class describing a presence stanza
|
||||
* \brief A class describing a presence stanza.
|
||||
*/
|
||||
@interface XMPPPresence: XMPPStanza
|
||||
{
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new XMPPPresence
|
||||
* Creates a new autoreleased XMPPPresence.
|
||||
*
|
||||
* \return A new autoreleased XMPPPresence
|
||||
*/
|
||||
+ presence;
|
||||
|
||||
/**
|
||||
* Creates a new XMPPPresence with a certain id
|
||||
* Creates a new autoreleased XMPPPresence with the specified id.
|
||||
*
|
||||
* \param ID The value for the stanza's id attribute
|
||||
* \return A new autoreleased XMPPPresence
|
||||
|
@ -23,7 +20,7 @@
|
|||
+ presenceWithID: (OFString*)ID;
|
||||
|
||||
/**
|
||||
* Creates a new XMPPPresence with a certain type
|
||||
* Creates a new autoreleased XMPPPresence with the specified type.
|
||||
*
|
||||
* \param type The value for the stanza's type attribute
|
||||
* \return A new autoreleased XMPPPresence
|
||||
|
@ -31,7 +28,7 @@
|
|||
+ presenceWithType: (OFString*)type;
|
||||
|
||||
/**
|
||||
* Creates a new XMPPPresence with a certain type and id
|
||||
* Creates a new autoreleased XMPPPresence 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 XMPPPresence
|
||||
* Initializes an already allocated XMPPPresence.
|
||||
*
|
||||
* \return A initialized XMPPPresence
|
||||
*/
|
||||
- init;
|
||||
|
||||
/**
|
||||
* Initializes an already allocated XMPPPresence with a certain id
|
||||
* Initializes an already allocated XMPPPresence with the specified id.
|
||||
*
|
||||
* \param ID The value for the stanza's id attribute
|
||||
* \return A initialized XMPPPresence
|
||||
|
@ -56,7 +53,7 @@
|
|||
- initWithID: (OFString*)ID;
|
||||
|
||||
/**
|
||||
* Initializes an already allocated XMPPPresence with a certain type
|
||||
* Initializes an already allocated XMPPPresence with the specified type.
|
||||
*
|
||||
* \param type The value for the stanza's type attribute
|
||||
* \return A initialized XMPPPresence
|
||||
|
@ -64,7 +61,7 @@
|
|||
- initWithType: (OFString*)type;
|
||||
|
||||
/**
|
||||
* Initializes an already allocated XMPPPresence with a certain type and id
|
||||
* Initializes an already allocated XMPPPresence 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
|
||||
|
@ -74,21 +71,21 @@
|
|||
ID: (OFString*)ID;
|
||||
|
||||
/**
|
||||
* Adds a show element to the presence stanza
|
||||
* Adds a show element to the presence stanza.
|
||||
*
|
||||
* \param show The text content of the show element
|
||||
*/
|
||||
- (void)addShow: (OFString*)show;
|
||||
|
||||
/**
|
||||
* Adds a status element to the presence stanza
|
||||
* Adds a status element to the presence stanza.
|
||||
*
|
||||
* \param status The text content of the status element
|
||||
*/
|
||||
- (void)addStatus: (OFString*)status;
|
||||
|
||||
/**
|
||||
* Adds a priority element to the presence stanza
|
||||
* Adds a priority element to the presence stanza.
|
||||
*
|
||||
* \param priority The text content of the priority element
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue