diff options
author | Luigi Rizzo <rizzo@icir.org> | 2008-01-09 16:44:20 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2008-01-09 16:44:20 +0000 |
commit | aaddb77f424a9a29099992f65c5d9cbbf84d1fa3 (patch) | |
tree | 7c5a36fe738b9e8543d192c6eccebc3cb1285a92 /channels/console_video.h | |
parent | 2ad2f9240581cb2bb0195bfcf815f8f440131723 (diff) |
Implement keyboard handling, and use it to enter
a number to dial in the 'message' area under the
keypad.
Now you can make calls using the keypad as a regular phone
(or the keyboard for chars not present on the keypad)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97488 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/console_video.h')
-rw-r--r-- | channels/console_video.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/channels/console_video.h b/channels/console_video.h index 3d3975a67..8314da3a8 100644 --- a/channels/console_video.h +++ b/channels/console_video.h @@ -86,5 +86,16 @@ int console_video_config(struct video_desc **penv, const char *var, const char * void console_video_uninit(struct video_desc *env); void console_video_start(struct video_desc *env, struct ast_channel *owner); +/* console_board.c */ +struct board; +/* !\brief print a message on a board */ +int print_message(struct board *b, const char *s); + +/*! \brief return the whole text from a board */ +const char *read_message(const struct board *b); + +/*! \brief reset the board to blank */ +int reset_board(struct board *b); + #endif /* CONSOLE_VIDEO_H */ /* end of file */ |