X-Git-Url: http://cgit.babelmonkeys.de/?a=blobdiff_plain;f=src%2Fcore%2FJubChatClient.h;h=168fa696aef080d9b2fbb528c5eaf91bd0c07b3f;hb=HEAD;hp=c6a1da8b6df16fbe0f433312e9573163e2f6d703;hpb=4d4a2b07fe52fa2d9e21b697dcf85c73bdd537a9;p=jubjub.git diff --git a/src/core/JubChatClient.h b/src/core/JubChatClient.h index c6a1da8..168fa69 100644 --- a/src/core/JubChatClient.h +++ b/src/core/JubChatClient.h @@ -5,22 +5,32 @@ #import "JubChatUI.h" #import "JubConfig.h" -@interface JubChatClient : OFObject +@class JubAvatarManager; + +@interface JubChatClient : OFObject + { - OFMutableDictionary *chatMap; - XMPPConnection *connection; - XMPPRoster *roster; - XMPPStreamManagement *streamManagement; - XMPPContactManager *contactManager; - 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