X-Git-Url: http://cgit.babelmonkeys.de/?a=blobdiff_plain;f=src%2Fcore%2FJubChatClient.h;h=168fa696aef080d9b2fbb528c5eaf91bd0c07b3f;hb=HEAD;hp=a73082dde1b475a5f77c7311594b7eee580578c3;hpb=e7980c8d1a40175b56fad21082291152e214825d;p=jubjub.git diff --git a/src/core/JubChatClient.h b/src/core/JubChatClient.h index a73082d..168fa69 100644 --- a/src/core/JubChatClient.h +++ b/src/core/JubChatClient.h @@ -2,20 +2,35 @@ #import #import "JubUI.h" +#import "JubChatUI.h" #import "JubConfig.h" -@interface JubChatClient : OFObject +@class JubAvatarManager; + +@interface JubChatClient : OFObject + { - XMPPConnection *connection; - XMPPRoster *roster; - XMPPStreamManagement *streamManagement; - XMPPPresence *presence; - id ui; + OFMutableDictionary *_chatMap; + XMPPConnection *_connection; + XMPPRoster *_roster; + XMPPStreamManagement *_streamManagement; + JubAvatarManager *_avatarManager; + XMPPContactManager *_contactManager; + XMPPDiscoEntity *_discoEntity; + XMPPPresence *_presence; + id _ui; } @property (readonly) XMPPConnection *connection; @property (readonly) XMPPRoster *roster; +@property (readonly) JubAvatarManager *avatarManager; +@property (readonly) XMPPContactManager *contactManager; +@property (readonly) XMPPDiscoEntity *discoEntity; @property (readonly) XMPPPresence *presence; @property (assign) id ui; - initWithConfig: (JubConfig*)config; +- (id)chatForContact: (XMPPContact*)contact; +- (void)sendPresenceWithStatus: (OFString*)status; +- (void)sendPresenceWithStatus: (OFString*)status + text: (OFString*)text; @end