2 define(`HTMLNAME',`terminal_interface-curses-trace__ads.htm')dnl
3 include(M4MACRO)------------------------------------------------------------------------------
5 -- GNAT ncurses Binding --
7 -- Terminal_Interface.Curses.Trace --
11 ------------------------------------------------------------------------------
12 -- Copyright (c) 2000 Free Software Foundation, Inc. --
14 -- Permission is hereby granted, free of charge, to any person obtaining a --
15 -- copy of this software and associated documentation files (the --
16 -- "Software"), to deal in the Software without restriction, including --
17 -- without limitation the rights to use, copy, modify, merge, publish, --
18 -- distribute, distribute with modifications, sublicense, and/or sell --
19 -- copies of the Software, and to permit persons to whom the Software is --
20 -- furnished to do so, subject to the following conditions: --
22 -- The above copyright notice and this permission notice shall be included --
23 -- in all copies or substantial portions of the Software. --
25 -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
26 -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
27 -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. --
28 -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
29 -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
30 -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR --
31 -- THE USE OR OTHER DEALINGS IN THE SOFTWARE. --
33 -- Except as contained in this notice, the name(s) of the above copyright --
34 -- holders shall not be used in advertising or otherwise to promote the --
35 -- sale, use or other dealings in this Software without prior written --
37 ------------------------------------------------------------------------------
38 -- Author: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000
41 -- Binding Version 01.00
42 ------------------------------------------------------------------------------
44 package Terminal_Interface.Curses.Trace is
45 pragma Preelaborate (Terminal_Interface.Curses.Trace);
47 pragma Warnings (Off);
52 Trace_Disable : constant Trace_Attribute_Set := (others => False);
54 Trace_Ordinary : constant Trace_Attribute_Set :=
59 Character_Output => True,
61 Trace_Maximum : constant Trace_Attribute_Set := (others => True);
63 ------------------------------------------------------------------------------
65 -- MANPAGE(`curs_trace.3x')
67 -- ANCHOR(`trace()',`Trace_on')
68 procedure Trace_On (x : Trace_Attribute_Set);
69 -- The debugging library has trace.
71 -- ANCHOR(`_tracef()',`Trace_Put')
72 procedure Trace_Put (str : String);
75 Current_Trace_Setting : Trace_Attribute_Set;
76 pragma Import (C, Current_Trace_Setting, "_nc_tracing");
78 end Terminal_Interface.Curses.Trace;