terminal_interface-curses-trace.ads.m4 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. -- -*- ada -*-
  2. define(`HTMLNAME',`terminal_interface-curses-trace__ads.htm')dnl
  3. include(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. package Terminal_Interface.Curses.Trace is
  44. pragma Preelaborate (Terminal_Interface.Curses.Trace);
  45. pragma Warnings (Off);
  46. include(`Trace_Defs')
  47. pragma Warnings (On);
  48. Trace_Disable : constant Trace_Attribute_Set := (others => False);
  49. Trace_Ordinary : constant Trace_Attribute_Set :=
  50. (Times => True,
  51. Tputs => True,
  52. Update => True,
  53. Cursor_Move => True,
  54. Character_Output => True,
  55. others => False);
  56. Trace_Maximum : constant Trace_Attribute_Set := (others => True);
  57. ------------------------------------------------------------------------------
  58. -- MANPAGE(`curs_trace.3x')
  59. -- ANCHOR(`trace()',`Trace_on')
  60. procedure Trace_On (x : Trace_Attribute_Set);
  61. -- The debugging library has trace.
  62. -- ANCHOR(`_tracef()',`Trace_Put')
  63. procedure Trace_Put (str : String);
  64. -- AKA
  65. Current_Trace_Setting : Trace_Attribute_Set;
  66. pragma Import (C, Current_Trace_Setting, "_nc_tracing");
  67. end Terminal_Interface.Curses.Trace;