5 <BODY BGCOLOR="#99ccbb" TEXT="#000000" LINK="#4060b0" VLINK="#000080" ALINK="#ff4040">
7 <I>------------------------------------------------------------------------------</I>
9 <I>-- <A HREF="http://www.gnat.com">GNAT</A> ncurses Binding --</I>
11 <I>-- Terminal_Interface.Curses.Forms.Field_Types --</I>
15 <I>-- Version 00.92 --</I>
17 <I>-- The ncurses Ada95 binding is copyrighted 1996 by --</I>
18 <I>-- <A HREF="http://home.t-online.de/home/Juergen.Pfeifer">Jürgen Pfeifer</A>, Email: <A HREF="mailto:Juergen.Pfeifer@T-Online.de">Juergen.Pfeifer@T-Online.de</A> --</I>
20 <I>-- Permission is hereby granted to reproduce and distribute this --</I>
21 <I>-- binding by any means and for any fee, whether alone or as part --</I>
22 <I>-- of a larger distribution, in source or in binary form, PROVIDED --</I>
23 <I>-- this notice is included with any such distribution, and is not --</I>
24 <I>-- removed from any of its header files. Mention of ncurses and the --</I>
25 <I>-- author of this binding in any applications linked with it is --</I>
26 <I>-- highly appreciated. --</I>
28 <I>-- This binding comes AS IS with no warranty, implied or expressed. --</I>
29 <I>------------------------------------------------------------------------------</I>
30 <I>-- Version Control:</I>
31 <I>-- @Revision: 1.3 @</I>
32 <I>------------------------------------------------------------------------------</I>
33 <B>with</B> Ada.Finalization; <B>use</B> Ada.Finalization;
35 <I>-- You must instantiate this package for any user defined field type</I>
36 <I>-- to make it visible to the runtime.</I>
39 type User <B>is</B> <B>new</B> Ada_Defined_Field_Type <B>with</B> <B>private</B>;
40 type User_Access <B>is</B> <B>access</B> User;
41 <B>with</B> <B>function</B> Field_Check (Fld : Field;
42 Info : User_Access) <B>return</B> Boolean;
43 <B>with</B> <B>function</B> Character_Check (Ch : Character;
44 Info : User_Access) <B>return</B> Boolean;
45 <B>package</B> Terminal_Interface.Curses.Forms.Field_Types <B>is</B>
47 <I>-- Nothing public. All happens magically.</I>
50 type Tracker <B>is</B> <B>new</B> Limited_Controlled <B>with</B> <B>null</B> <B>record</B>;
52 <B>procedure</B> Initialize (Obj : <B>in</B> <B>out</B> Tracker);
53 <B>procedure</B> Finalize (Obj : <B>in</B> <B>out</B> Tracker);
55 <B>end</B> Terminal_Interface.Curses.Forms.Field_Types;
62 This is BETA software. The interface is subject to change without notice.<P>
63 <!-- Do NOT delete my name or the tool name from below; -->
64 <!-- giving me credit is a condition of use of ada2html -->
65 <P><I>This hypertext format was generated by <A HREF="http://www.adahome.com/Tutorials/Lovelace/dwheeler.htm">David A. Wheeler</A>'s <A HREF="http://www.adahome.com/Resources/Tools/ada2html/ada2html.htm">ada2html</A></I>