]> cgit.babelmonkeys.de Git - jubjub.git/blob - src/core/JubChatClient.h
Track current presence
[jubjub.git] / src / core / JubChatClient.h
1 #import <ObjXMPP/ObjXMPP.h>
2 #import <ObjFW/ObjFW.h>
3
4 #import "JubUI.h"
5 #import "JubConfig.h"
6
7 @interface JubChatClient : OFObject <XMPPConnectionDelegate, XMPPRosterDelegate>
8 {
9         XMPPConnection *connection;
10         XMPPRoster *roster;
11         XMPPStreamManagement *streamManagement;
12         XMPPPresence *presence;
13         id<JubUI> ui;
14 }
15 @property (readonly) XMPPConnection *connection;
16 @property (readonly) XMPPRoster *roster;
17 @property (readonly) XMPPPresence *presence;
18 @property (assign) id<JubUI> ui;
19
20 - initWithConfig: (JubConfig*)config;
21 @end