blob: 546004fd493898df57e9f9a79a2f79f46f16d514 [file] [log] [blame]
Amit Daniel Kachhape6a01f52011-07-20 11:45:59 +05301-- -*- ada -*-
2define(`HTMLNAME',`terminal_interface-curses-trace__ads.htm')dnl
3include(M4MACRO)------------------------------------------------------------------------------
4-- --
5-- GNAT ncurses Binding --
6-- --
7-- Terminal_Interface.Curses.Trace --
8-- --
9-- S P E C --
10-- --
11------------------------------------------------------------------------------
12-- Copyright (c) 2000 Free Software Foundation, Inc. --
13-- --
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: --
21-- --
22-- The above copyright notice and this permission notice shall be included --
23-- in all copies or substantial portions of the Software. --
24-- --
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. --
32-- --
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 --
36-- authorization. --
37------------------------------------------------------------------------------
38-- Author: Eugene V. Melaragno <aldomel@ix.netcom.com> 2000
39-- Version Control:
40-- $Revision: 1.1 $
41-- Binding Version 01.00
42------------------------------------------------------------------------------
43
44package Terminal_Interface.Curses.Trace is
45 pragma Preelaborate (Terminal_Interface.Curses.Trace);
46
47 pragma Warnings (Off);
48include(`Trace_Defs')
49
50 pragma Warnings (On);
51
52 Trace_Disable : constant Trace_Attribute_Set := (others => False);
53
54 Trace_Ordinary : constant Trace_Attribute_Set :=
55 (Times => True,
56 Tputs => True,
57 Update => True,
58 Cursor_Move => True,
59 Character_Output => True,
60 others => False);
61 Trace_Maximum : constant Trace_Attribute_Set := (others => True);
62
63------------------------------------------------------------------------------
64
65 -- MANPAGE(`curs_trace.3x')
66
67 -- ANCHOR(`trace()',`Trace_on')
68 procedure Trace_On (x : Trace_Attribute_Set);
69 -- The debugging library has trace.
70
71 -- ANCHOR(`_tracef()',`Trace_Put')
72 procedure Trace_Put (str : String);
73 -- AKA
74
75 Current_Trace_Setting : Trace_Attribute_Set;
76 pragma Import (C, Current_Trace_Setting, "_nc_tracing");
77
78end Terminal_Interface.Curses.Trace;