home *** CD-ROM | disk | FTP | other *** search
/ Programmer's ROM - The Computer Language Library / programmersrom.iso / ada / menu / mmandoc.abs < prev    next >
Encoding:
Text File  |  1988-05-03  |  2.7 KB  |  55 lines

  1. package MENU_MANAGER is -- a tool used to create and use menus. These menus
  2. -- will be used to invoke programs defined by the designer of the menu. The
  3. -- Menu Manager is designed to be a top level program which can be used to 
  4. -- create a chain of menus, but the Menu Manager itself cannot be invoked
  5. -- by the Menu Manager.
  6.     
  7.   type FINAL_REPORT is -- This is the description of the materials delivered
  8.   -- as part of the contract.
  9.     record
  10.       OVERVIEW: OVERVIEW_SECTION
  11.                (FUNCTIONAL_PURPOSE, DESIGN_OBJECTIVES, CONTENT_OF_MANUAL);
  12.       EXTERNAL_USER_MANUAL: USER_MANUAL;
  13.       MENU_DEFINITION_LANGUAGE_MANUAL: LANGUAGE_MANUAL;
  14.       INTERNAL_SOFTWARE_MANUAL: USER_MANUAL;
  15.       OPERATING_ENVIRONMENT: INSTALLATION_MANUAL;
  16.       MENU_MANAGER_SOURCE_CODE: Ada_SOURCE_FILE_TYPE;
  17.     end record;
  18.  
  19.   procedure MENU_COMPILER (MENU_DEFINITION_FILE: in TEXT_FILE);
  20.   -- is the procedure used to create a Menu Definition Table from a user
  21.   -- created text file that describes the menu in a Menu Definition Language.
  22.   -- The Menu Definition Table is then used by the Menu Handler to display the
  23.   -- menu and execute the desired programs. The name of the Menu Definition
  24.   -- Table is given by the user in the Menu Definition File.
  25.  
  26.   procedure MAKE_MENU_DEFINITION_TABLE_R; -- is an Ada program that is editable
  27.   -- by the user. It creates the Menu Definition Table without using the 
  28.   -- compiler and the Menu Definition File written in a Menu Definition
  29.   -- Language. This allows all files to be created in Ada Language.
  30.  
  31.   procedure MENU_HANDLER (MENU_DEFINITION_TABLE: in STRUCTURES_TABLE_FILE);
  32.   -- is the procedure used to display the menu and process menu selections,
  33.   -- executing programs and displaying other menus as desired during run-time.
  34.  
  35.   package TITLE_PAGE is new TITLE_PAGE_PACKAGE
  36.           (DEVELOPING_ORGANIZATION      => "Ford Aerospace",
  37.            AUTHOR                       => "Sylvan Rubin / Ken Lamarche",
  38.            CONTRACT                     => "",
  39.            ADDRESS                      => ("1260 Crossman Avenue",
  40.                                             "Sunnyvale","CA","94089"),
  41.            PHONE                        => (408,743,3891),
  42.            DATE_SUBMITTED               => (5,Mar,1985) );
  43.  
  44.   package TECHNICAL PARAMETERS is new TECHNICAL_PARAMETERS_PACKAGE
  45.           (LINES_OF_SOURCE_CODE        => 2000,
  46.            DEVELOPMENT_COMPILER         => (TeleSoft_2_1),
  47.            PLANNED_COMPILERS_SUPPORTED  => ((DECVAX,TeleSoft)) );
  48.  
  49.   package DEVELOPMENT_SCHEDULE_AND_STATUS is new SCHEDULE_PACKAGE
  50.           (COMPILETED_EVENTS            => (MONTHLY_STATUS_REPORTS),
  51.            SCHEDULED_EVENTS             => (DELIVERY,(15,APR,1985) );
  52.  
  53. end MENU_MANAGER;
  54.     
  55.