nngn
Loading...
Searching...
No Matches
anonymous_namespace{terminal.cpp}::TerminalSource Class Reference
Inheritance diagram for anonymous_namespace{terminal.cpp}::TerminalSource:
Collaboration diagram for anonymous_namespace{terminal.cpp}::TerminalSource:

Public Member Functions

 TerminalSource (Terminal &&t)
 
 TerminalSource (int fd, Terminal::Flag flags)
 
bool init ()
 
bool update (nngn::Input *input) override
 
- Public Member Functions inherited from nngn::Input::Source
virtual ~Source ()=0
 
virtual void get_keys (std::span< i32 > keys) const
 

Private Attributes

Terminal terminal
 

Constructor & Destructor Documentation

◆ TerminalSource() [1/2]

anonymous_namespace{terminal.cpp}::TerminalSource::TerminalSource ( Terminal && t)
inlineexplicit

◆ TerminalSource() [2/2]

anonymous_namespace{terminal.cpp}::TerminalSource::TerminalSource ( int fd,
Terminal::Flag flags )
inline

Member Function Documentation

◆ init()

bool anonymous_namespace{terminal.cpp}::TerminalSource::init ( )
inline

◆ update()

bool anonymous_namespace{terminal.cpp}::TerminalSource::update ( nngn::Input * input)
overridevirtual

Reimplemented from nngn::Input::Source.

Here is the call graph for this function:

Member Data Documentation

◆ terminal

Terminal anonymous_namespace{terminal.cpp}::TerminalSource::terminal
private

The documentation for this class was generated from the following file: