1 #import <ObjFW/ObjFW.h>
2 #import <ObjXMPP/ObjXMPP.h>
8 @protocol JubCLICommand;
10 @interface JubCLIUI: OFObject <JubUI, XMPPContactManagerDelegate>
14 JubChatClient *_client;
15 XMPPContactManager *_contactManager;
16 OFMutableDictionary *_commands;
18 @property (readonly) JubChatClient *client;
19 @property (readonly) XMPPContact *lastIn;
20 @property (retain) JubCLIChatUI *sink;
22 - (BOOL)Jub_userInputWithStream: (OFStream*)stream
24 exception: (OFException*)exception;
25 - (void)addCommand: (id<JubCLICommand>)command;