]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - Ada95/gen/terminal_interface-curses-forms.ads.m4
ncurses 5.7 - patch 20090927
[ncurses.git] / Ada95 / gen / terminal_interface-curses-forms.ads.m4
index bb4ebfd45ad9933631fbbdb8037edf2a17504d7f..5b75edbf14e1bae91445ab2b4fdddf602fbc93ab 100644 (file)
@@ -1,5 +1,5 @@
 --  -*- ada -*-
 --  -*- ada -*-
-define(`HTMLNAME',`terminal_interface-curses-forms_s.html')dnl
+define(`HTMLNAME',`terminal_interface-curses-forms__ads.htm')dnl
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
 include(M4MACRO)dnl
 ------------------------------------------------------------------------------
 --                                                                          --
@@ -10,7 +10,7 @@ include(M4MACRO)dnl
 --                                 S P E C                                  --
 --                                                                          --
 ------------------------------------------------------------------------------
 --                                 S P E C                                  --
 --                                                                          --
 ------------------------------------------------------------------------------
--- Copyright (c) 1998 Free Software Foundation, Inc.                        --
+-- Copyright (c) 1998,2006 Free Software Foundation, Inc.                   --
 --                                                                          --
 -- Permission is hereby granted, free of charge, to any person obtaining a  --
 -- copy of this software and associated documentation files (the            --
 --                                                                          --
 -- Permission is hereby granted, free of charge, to any person obtaining a  --
 -- copy of this software and associated documentation files (the            --
@@ -36,20 +36,20 @@ include(M4MACRO)dnl
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written       --
 -- authorization.                                                           --
 ------------------------------------------------------------------------------
---  Author: Juergen Pfeifer <Juergen.Pfeifer@T-Online.de> 1996
+--  Author:  Juergen Pfeifer, 1996
 --  Version Control:
 --  Version Control:
---  $Revision: 1.14 $
---  Binding Version 00.93
+--  $Revision: 1.29 $
+--  $Date: 2006/06/25 14:30:21 $
+--  Binding Version 01.00
 ------------------------------------------------------------------------------
 include(`Form_Base_Defs')
 with System;
 with Ada.Characters.Latin_1;
 ------------------------------------------------------------------------------
 include(`Form_Base_Defs')
 with System;
 with Ada.Characters.Latin_1;
-with Interfaces.C;
 
 package Terminal_Interface.Curses.Forms is
 
 package Terminal_Interface.Curses.Forms is
-   pragma Preelaborate (Forms);
-include(`Form_Linker_Options')
-
+   pragma Preelaborate (Terminal_Interface.Curses.Forms);
+include(`Form_Linker_Options')dnl
+include(`Linker_Options')
    Space : Character renames Ada.Characters.Latin_1.Space;
 
    type Field        is private;
    Space : Character renames Ada.Characters.Latin_1.Space;
 
    type Field        is private;
@@ -63,13 +63,19 @@ include(`Form_Linker_Options')
                                 Center,
                                 Right);
 
                                 Center,
                                 Right);
 
-include(`Field_Rep')
+   pragma Warnings (Off);
+include(`Field_Rep')Dnl
+
+   pragma Warnings (On);
 
    function Default_Field_Options return Field_Option_Set;
    --  The initial defaults for the field options.
    pragma Inline (Default_Field_Options);
 
 
    function Default_Field_Options return Field_Option_Set;
    --  The initial defaults for the field options.
    pragma Inline (Default_Field_Options);
 
-include(`Form_Opt_Rep')
+   pragma Warnings (Off);
+include(`Form_Opt_Rep')Dnl
+
+   pragma Warnings (On);
 
    function Default_Form_Options return Form_Option_Set;
    --  The initial defaults for the form options.
 
    function Default_Form_Options return Form_Option_Set;
    --  The initial defaults for the form options.
@@ -222,7 +228,6 @@ include(`Form_Opt_Rep')
    REQ_NEXT_CHOICE  : Form_Request_Code renames F_Next_Choice;
    REQ_PREV_CHOICE  : Form_Request_Code renames F_Previous_Choice;
 
    REQ_NEXT_CHOICE  : Form_Request_Code renames F_Next_Choice;
    REQ_PREV_CHOICE  : Form_Request_Code renames F_Previous_Choice;
 
-
    procedure Request_Name (Key  : in Form_Request_Code;
                            Name : out String);
 
    procedure Request_Name (Key  : in Form_Request_Code;
                            Name : out String);
 
@@ -527,7 +532,7 @@ include(`Form_Opt_Rep')
    procedure Set_Fields (Frm  : in Form;
                          Flds : in Field_Array_Access) renames Redefine;
    --  AKA
    procedure Set_Fields (Frm  : in Form;
                          Flds : in Field_Array_Access) renames Redefine;
    --  AKA
-   pragma Inline (Set_Fields);
+   --  pragma Inline (Set_Fields);
 
    --  ANCHOR(`form_fields()',`Fields')
    function Fields (Frm   : Form;
 
    --  ANCHOR(`form_fields()',`Fields')
    function Fields (Frm   : Form;
@@ -558,7 +563,7 @@ include(`Form_Opt_Rep')
    function New_Form (Fields : Field_Array_Access) return Form
      renames Create;
    --  AKA
    function New_Form (Fields : Field_Array_Access) return Form
      renames Create;
    --  AKA
-   pragma Inline (New_Form);
+   --  pragma Inline (New_Form);
 
    --  ANCHOR(`free_form()',`Delete')
    procedure Delete (Frm : in out Form);
 
    --  ANCHOR(`free_form()',`Delete')
    procedure Delete (Frm : in out Form);
@@ -680,13 +685,15 @@ include(`Form_Opt_Rep')
    --  AKA
    pragma Inline (Is_New_Page);
 
    --  AKA
    pragma Inline (Is_New_Page);
 
+   --  MANPAGE(`form_requestname.3x')
+   --  Not Implemented: form_request_name, form_request_by_name
+
 ------------------------------------------------------------------------------
 private
 ------------------------------------------------------------------------------
 private
+   type Field is new System.Storage_Elements.Integer_Address;
+   type Form  is new System.Storage_Elements.Integer_Address;
 
 
-   type Field        is new System.Address;
-   type Form         is new System.Address;
-
-   Null_Field        : constant Field        := Field (System.Null_Address);
-   Null_Form         : constant Form         := Form  (System.Null_Address);
+   Null_Field : constant Field := 0;
+   Null_Form  : constant Form  := 0;
 
 end Terminal_Interface.Curses.Forms;
 
 end Terminal_Interface.Curses.Forms;