]> cgit.babelmonkeys.de Git - jubjub.git/blob - src/core/JubChatClient.h
bd418f4315726c200b5aab3aa860da9a99268170
[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         id<JubUI> ui;
13 }
14 @property (readonly) XMPPConnection *connection;
15 @property (readonly) XMPPRoster *roster;
16 @property (assign) id<JubUI> ui;
17
18 - initWithConfig: (JubConfig*)config;
19 @end