The readline keymap wrapper.
More...
#include <stdair/ui/cmdline/SReadline.hpp>
The readline keymap wrapper.
Attention: It is not thread safe! Supports: key binding, key unbinding
Definition at line 307 of file SReadline.hpp.
swift::SKeymap::SKeymap |
( |
bool |
PrintableBound = false | ) |
|
|
inlineexplicit |
Creates a new keymap.
- Parameters
-
PrintableBound | if true - the printable characters are bound if false - the keymap is empty |
Definition at line 319 of file SReadline.hpp.
swift::SKeymap::SKeymap |
( |
Keymap |
Pattern | ) |
|
|
inlineexplicit |
Creates a new keymap which is a copy of Pattern.
- Parameters
-
Pattern | A keymap to be copied. |
Definition at line 342 of file SReadline.hpp.
swift::SKeymap::~SKeymap |
( |
| ) |
|
|
inline |
swift::SKeymap::SKeymap |
( |
const SKeymap & |
rhs | ) |
|
|
inline |
void swift::SKeymap::Bind |
( |
int |
Key, |
|
|
KeyCallback |
Callback |
|
) |
| |
|
inline |
Binds the given key to a function.
- Parameters
-
Key | A key to be bound |
Callback | A function to be called when the Key is pressed |
Definition at line 366 of file SReadline.hpp.
void swift::SKeymap::Unbind |
( |
int |
Key | ) |
|
|
inline |
The documentation for this class was generated from the following file: