From aaddb77f424a9a29099992f65c5d9cbbf84d1fa3 Mon Sep 17 00:00:00 2001 From: Luigi Rizzo Date: Wed, 9 Jan 2008 16:44:20 +0000 Subject: 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 --- channels/console_video.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'channels/console_video.h') 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 */ -- cgit v1.2.3