Commit | Line | Data |
---|---|---|
f377b406 SC |
1 | /* TUI display source window. |
2 | Copyright 1998, 1999, 2000, 2001 Free Software Foundation, Inc. | |
3 | Contributed by Hewlett-Packard Company. | |
4 | ||
5 | This file is part of GDB. | |
6 | ||
7 | This program is free software; you can redistribute it and/or modify | |
8 | it under the terms of the GNU General Public License as published by | |
9 | the Free Software Foundation; either version 2 of the License, or | |
10 | (at your option) any later version. | |
11 | ||
12 | This program is distributed in the hope that it will be useful, | |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
18 | along with this program; if not, write to the Free Software | |
19 | Foundation, Inc., 59 Temple Place - Suite 330, | |
20 | Boston, MA 02111-1307, USA. */ | |
21 | ||
c906108c SS |
22 | #ifndef _TUI_SOURCE_H |
23 | #define _TUI_SOURCE_H | |
c906108c SS |
24 | |
25 | #include "defs.h" | |
26 | #if 0 | |
27 | #include "symtab.h" | |
28 | #include "breakpoint.h" | |
29 | #endif | |
30 | ||
a14ed312 KB |
31 | extern TuiStatus tuiSetSourceContent (struct symtab *, int, int); |
32 | extern void tuiShowSource (struct symtab *, Opaque, int); | |
33 | extern void tuiShowSourceAsIs (struct symtab *, Opaque, int); | |
34 | extern int tuiSourceIsDisplayed (char *); | |
35 | extern void tuiVerticalSourceScroll (TuiScrollDirection, int); | |
c906108c SS |
36 | |
37 | ||
38 | /******************* | |
39 | ** MACROS ** | |
40 | *******************/ | |
41 | #define m_tuiShowSourceAsIs(s, line, noerror) tuiUpdateSourceWindowAsIs(srcWin, s, line, noerror) | |
42 | ||
43 | ||
c5aa993b JM |
44 | #endif |
45 | /*_TUI_SOURCE_H*/ |