1 #import <ObjXMPP/ObjXMPP.h>
2 #import <ObjFW/ObjFW.h>
8 @interface JubChatClient : OFObject
9 <XMPPConnectionDelegate, XMPPRosterDelegate, XMPPContactManagerDelegate>
11 OFMutableDictionary *_chatMap;
12 XMPPConnection *_connection;
14 XMPPStreamManagement *_streamManagement;
15 XMPPContactManager *_contactManager;
16 XMPPPresence *_presence;
19 @property (readonly) XMPPConnection *connection;
20 @property (readonly) XMPPRoster *roster;
21 @property (readonly) XMPPContactManager *contactManager;
22 @property (readonly) XMPPPresence *presence;
23 @property (assign) id<JubUI> ui;
25 - initWithConfig: (JubConfig*)config;
26 - (id<JubChatUI>)chatForContact: (XMPPContact*)contact;