Use one file per class.

This commit is contained in:
Jonathan Schleifer 2011-02-16 20:32:39 +01:00
parent 2fa82b833c
commit fa59d3ce32
11 changed files with 361 additions and 355 deletions

26
src/XMPPIQ.h Normal file
View file

@ -0,0 +1,26 @@
#import "XMPPStanza.h"
/**
* \brief A class describing a IQ stanza
*/
@interface XMPPIQ: XMPPStanza
/**
* Creates a new XMPPIQ with a certain type and id
*
* \param type The value for the stanza's type attribute
* \param ID The value for the stanza's id attribute
* \return A new autoreleased XMPPIQ
*/
+ IQWithType: (OFString*)type
ID: (OFString*)ID;
/**
* Initializes an already allocated XMPPIQ with a certain type and id
*
* \param type The value for the stanza's type attribute
* \param ID The value for the stanza's id attribute
* \return A initialized XMPPIQ
*/
- initWithType: (OFString*)type
ID: (OFString*)ID;
@end