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