17 #ifndef HH_SENF_Utils_Termlib_TelnetTerminal_ 18 #define HH_SENF_Utils_Termlib_TelnetTerminal_ 1 56 virtual unsigned width()
const;
57 virtual unsigned height()
const;
58 virtual void write(
char ch);
69 virtual void v_setupComplete();
70 virtual void v_charReceived(
char ch);
71 virtual void v_windowSizeChanged();
AbstractTerminal interface implementation based on telnet.
#define SENF_LOG_CLASS_AREA()
virtual std::string terminalType()
Get the terminal type.
virtual void setCallbacks(AbstractTerminal::Callbacks &cb)
Register terminal callbacks.
AbstractTerminal callbacks.
virtual unsigned width() const
Get current terminal window width.
Implement NAWS (Negotiation About Window Size) option.
virtual void v_setupFailed()=0
Called when the telnet setup has failed.
virtual unsigned height() const
Get current terminal window height.
virtual void write(char ch)
Write character to terminal.
Implement TERMINAL_TYPE option.
Abstract terminal interface.