1 #import <ObjFW/ObjFW.h>
2 #import <ObjXMPP/ObjXMPP.h>
7 @protocol JubAvatarManagerDelegate
8 - (void)contact: (XMPPContact*)contact
9 didSetAvatar: (OFString*)avatarFile;
12 @interface JubAvatarManager : OFObject <XMPPConnectionDelegate>
14 JubChatClient *_client;
15 id<JubAvatarManagerDelegate> _delegate;
16 OFMutableString *cachePath;
18 @property (assign) id<JubAvatarManagerDelegate> delegate;
20 - initWithClient: (JubChatClient*)client;
21 - (void)Jub_connection: (XMPPConnection*)connection
22 receivedAvatarIQ: (XMPPIQ*)IQ;