Move all roster handling code to XMPPRoster.
This commit is contained in:
parent
82982768bc
commit
f651384d81
5 changed files with 121 additions and 116 deletions
|
@ -24,11 +24,13 @@
|
|||
|
||||
@class XMPPConnection;
|
||||
@class XMPPRosterItem;
|
||||
@class XMPPIQ;
|
||||
|
||||
@interface XMPPRoster: OFObject
|
||||
{
|
||||
XMPPConnection *connection;
|
||||
OFMutableDictionary *rosterItems;
|
||||
OFString *rosterID;
|
||||
}
|
||||
|
||||
- initWithConnection: (XMPPConnection*)conn;
|
||||
|
@ -36,6 +38,8 @@
|
|||
- (void)XMPP_updateRosterItem: (XMPPRosterItem*)rosterItem;
|
||||
- (void)XMPP_deleteRosterItem: (XMPPRosterItem*)rosterItem;
|
||||
- (OFDictionary*)rosterItems;
|
||||
- (BOOL)handleIQ: (XMPPIQ*)iq;
|
||||
- (void)requestRoster;
|
||||
- (void)addRosterItem: (XMPPRosterItem*)rosterItem;
|
||||
- (void)updateRosterItem: (XMPPRosterItem*)rosterItem;
|
||||
- (void)deleteRosterItem: (XMPPRosterItem*)rosterItem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue