Improve +[XMPPStanza stanzaWithElement:].
This commit is contained in:
parent
f651384d81
commit
1ffd66aa92
2 changed files with 20 additions and 33 deletions
|
@ -90,10 +90,10 @@
|
|||
/**
|
||||
* Creates a new autoreleased XMPPStanza from an OFXMLElement.
|
||||
*
|
||||
* \param elem The element to base the XMPPStanza on
|
||||
* \param element The element to base the XMPPStanza on
|
||||
* \return A new autoreleased XMPPStanza
|
||||
*/
|
||||
+ stanzaWithElement: (OFXMLElement*)elem;
|
||||
+ stanzaWithElement: (OFXMLElement*)element;
|
||||
|
||||
/**
|
||||
* Initializes an already allocated XMPPStanza with the specified name.
|
||||
|
@ -139,10 +139,10 @@
|
|||
/**
|
||||
* Initializes an already allocated XMPPStanza based on a OFXMLElement
|
||||
*
|
||||
* \param elem The element to base the XMPPStanza on
|
||||
* \param element The element to base the XMPPStanza on
|
||||
* \return A initialized XMPPStanza
|
||||
*/
|
||||
- initWithElement: (OFXMLElement*)elem;
|
||||
- initWithElement: (OFXMLElement*)element;
|
||||
|
||||
- (void)setFrom: (XMPPJID*)from;
|
||||
- (XMPPJID*)from;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue