]> ncurses.scripts.mit.edu Git - ncurses.git/blob - Ada95/gen/terminal_interface-curses-forms-field_user_data.ads.m4
ncurses 6.1 - patch 20190921
[ncurses.git] / Ada95 / gen / terminal_interface-curses-forms-field_user_data.ads.m4
1 --  -*- ada -*-
2 define(`HTMLNAME',`terminal_interface-curses-forms-field_user_data__ads.htm')dnl
3 include(M4MACRO)dnl
4 ------------------------------------------------------------------------------
5 --                                                                          --
6 --                           GNAT ncurses Binding                           --
7 --                                                                          --
8 --               Terminal_Interface.Curses.Forms.Field_User_Data            --
9 --                                                                          --
10 --                                 S P E C                                  --
11 --                                                                          --
12 ------------------------------------------------------------------------------
13 -- Copyright (c) 1998-2003,2009 Free Software Foundation, Inc.              --
14 --                                                                          --
15 -- Permission is hereby granted, free of charge, to any person obtaining a  --
16 -- copy of this software and associated documentation files (the            --
17 -- "Software"), to deal in the Software without restriction, including      --
18 -- without limitation the rights to use, copy, modify, merge, publish,      --
19 -- distribute, distribute with modifications, sublicense, and/or sell       --
20 -- copies of the Software, and to permit persons to whom the Software is    --
21 -- furnished to do so, subject to the following conditions:                 --
22 --                                                                          --
23 -- The above copyright notice and this permission notice shall be included  --
24 -- in all copies or substantial portions of the Software.                   --
25 --                                                                          --
26 -- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS  --
27 -- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF               --
28 -- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.   --
29 -- IN NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,   --
30 -- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR    --
31 -- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR    --
32 -- THE USE OR OTHER DEALINGS IN THE SOFTWARE.                               --
33 --                                                                          --
34 -- Except as contained in this notice, the name(s) of the above copyright   --
35 -- holders shall not be used in advertising or otherwise to promote the     --
36 -- sale, use or other dealings in this Software without prior written       --
37 -- authorization.                                                           --
38 ------------------------------------------------------------------------------
39 --  Author:  Juergen Pfeifer, 1996
40 --  Version Control:
41 --  $Revision: 1.16 $
42 --  Binding Version 01.00
43 ------------------------------------------------------------------------------
44
45 generic
46    type User is limited private;
47    type User_Access is access User;
48 package Terminal_Interface.Curses.Forms.Field_User_Data is
49    pragma Preelaborate (Terminal_Interface.Curses.Forms.Field_User_Data);
50
51    --  MANPAGE(`form_field_userptr.3x')
52
53    --  ANCHOR(`set_field_userptr',`Set_User_Data')
54    procedure Set_User_Data (Fld  : Field;
55                             Data : User_Access);
56    --  AKA
57    pragma Inline (Set_User_Data);
58
59    --  ANCHOR(`field_userptr',`Get_User_Data')
60    procedure Get_User_Data (Fld  : Field;
61                             Data : out User_Access);
62    --  AKA
63
64    --  ANCHOR(`field_userptr',`Get_User_Data')
65    function Get_User_Data (Fld  : Field) return User_Access;
66    --  AKA
67    --  Sama as function
68    pragma Inline (Get_User_Data);
69
70 end Terminal_Interface.Curses.Forms.Field_User_Data;