diff options
author | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-09 16:44:20 +0000 |
---|---|---|
committer | rizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-01-09 16:44:20 +0000 |
commit | 1e7077c8bda1eab42913c7d8050d29e65f3f2044 (patch) | |
tree | 7c5a36fe738b9e8543d192c6eccebc3cb1285a92 /channels/console_video.h | |
parent | 3af5eebefce406fba0b8e681b299439af3412207 (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: http://svn.digium.com/svn/asterisk/trunk@97488 f38db490-d61c-443f-a65b-d21fe96a405b
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 */ |