17 #ifndef HH_SENF_Utils_Console_LineEditor_ 18 #define HH_SENF_Utils_Console_LineEditor_ 1 21 #include <boost/scoped_ptr.hpp> 51 virtual void v_disablePrompt();
52 virtual void v_enablePrompt();
53 virtual void v_write(std::string
const &
data);
54 virtual unsigned v_width()
const;
56 boost::scoped_ptr<ClientReader> reader_;
71 virtual void v_setupFailed();
75 virtual void v_disablePrompt();
76 virtual void v_enablePrompt();
77 virtual void v_write(std::string
const &
data);
78 virtual unsigned v_width()
const;
81 void executeLine(std::string
const & text);
84 std::string & prefix, std::vector<std::string> & completions);
u8 data[SPECTRAL_HT20_NUM_BINS]
Internal: ClientReader using senf::term::LineEditor for interactive input.
Internal: Client reader switching between LineEditorClientReader or DumbClientReader.
LineEditorSwitcher(Client &client)