X-Git-Url: http://cgit.babelmonkeys.de/?a=blobdiff_plain;f=src%2Fcore%2FJubChatClient.h;h=168fa696aef080d9b2fbb528c5eaf91bd0c07b3f;hb=HEAD;hp=95bda4296d989aa396cadfd46d8c24bf4f90189b;hpb=bfecc06eee92ced72c224a4d2c98dbdb8f08d3f2;p=jubjub.git diff --git a/src/core/JubChatClient.h b/src/core/JubChatClient.h index 95bda42..168fa69 100644 --- a/src/core/JubChatClient.h +++ b/src/core/JubChatClient.h @@ -5,6 +5,8 @@ #import "JubChatUI.h" #import "JubConfig.h" +@class JubAvatarManager; + @interface JubChatClient : OFObject { @@ -12,16 +14,23 @@ 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