GDB (API)
/home/stan/gdb/src/gdb/tui/tui-io.h
Go to the documentation of this file.
00001 /* TUI support I/O functions.
00002 
00003    Copyright (C) 1998-2013 Free Software Foundation, Inc.
00004 
00005    Contributed by Hewlett-Packard Company.
00006 
00007    This file is part of GDB.
00008 
00009    This program is free software; you can redistribute it and/or modify
00010    it under the terms of the GNU General Public License as published by
00011    the Free Software Foundation; either version 3 of the License, or
00012    (at your option) any later version.
00013 
00014    This program is distributed in the hope that it will be useful,
00015    but WITHOUT ANY WARRANTY; without even the implied warranty of
00016    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00017    GNU General Public License for more details.
00018 
00019    You should have received a copy of the GNU General Public License
00020    along with this program.  If not, see <http://www.gnu.org/licenses/>.  */
00021 
00022 #ifndef TUI_IO_H
00023 #define TUI_IO_H
00024 
00025 struct ui_out;
00026 
00027 /* Print the string in the curses command window.  */
00028 extern void tui_puts (const char *);
00029 
00030 /* Setup the IO for curses or non-curses mode.  */
00031 extern void tui_setup_io (int mode);
00032 
00033 /* Initialize the IO for gdb in curses mode.  */
00034 extern void tui_initialize_io (void);
00035 
00036 /* Get a character from the command window.  */
00037 extern int tui_getc (FILE *);
00038 
00039 /* Readline callback.
00040    Redisplay the command line with its prompt after readline has
00041    changed the edited text.  */
00042 extern void tui_redisplay_readline (void);
00043 
00044 extern struct ui_out *tui_out;
00045 extern struct ui_out *tui_old_uiout;
00046 
00047 extern int key_is_start_sequence (int ch);
00048 extern int key_is_end_sequence (int ch);
00049 extern int key_is_backspace (int ch);
00050 extern int key_is_command_char (int ch);
00051 
00052 #endif
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines