Move all roster handling code to XMPPRoster.

This commit is contained in:
Jonathan Schleifer 2011-04-25 19:48:30 +02:00
parent 82982768bc
commit f651384d81
5 changed files with 121 additions and 116 deletions

View file

@ -84,7 +84,7 @@
XMPPAuthenticator *authModule;
BOOL needsSession;
unsigned int lastID;
OFString *bindID, *sessionID, *rosterID;
OFString *bindID, *sessionID;
XMPPRoster *roster;
}
@ -143,11 +143,6 @@
*/
- (OFString*)generateStanzaID;
/**
* Requests the roster.
*/
- (void)requestRoster;
- (void)setUsername: (OFString*)username;
- (OFString*)username;
- (void)setPassword: (OFString*)password;
@ -177,7 +172,6 @@
- (void)XMPP_handleResourceBind: (XMPPIQ*)iq;
- (void)XMPP_sendSession;
- (void)XMPP_handleSession: (XMPPIQ*)iq;
- (void)XMPP_handleRoster: (XMPPIQ*)iq;
@end
@interface OFObject (XMPPConnectionDelegate) <XMPPConnectionDelegate>