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