-- mycomputer is another attempt of A. i. written with Ada.
-- Mycomputer is Copyright (C) 2024 Manuel De Girardi ; 
--
--   This program is free software; you can redistribute it and/or modify
--   it under the terms of the GNU General Public License as published by
--   the Free Software Foundation; either version 2 of the License, or
--   (at your option) any later version.
--
--   This program is distributed in the hope that it will be useful,
--   but WITHOUT ANY WARRANTY; without even the implied warranty of
--   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
--   GNU General Public License for more details.
--
--   You should have received a copy of the GNU General Public License
--   along with this program; if not, write to the Free Software
--   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
--
-- Date := "2024-03-28 08:59:57"
-- Version := "1.0.0r"
package My is
   
   pragma Pure ( My ) ; 
   
   type Major_Range is new Natural range 0 .. 2399;
   type Minor_Range is new Natural range 0 .. Natural ' Last;
   type Revision_Range is new Natural range 0 .. Natural ' Last;
   type Release_Enum is ('r', 'a', 'b');
   
   type Version_Record is tagged
      record
	 Major : Major_Range := Major_Range ' First;
	 Minor : Minor_Range := Minor_Range ' First;
	 Revision : Revision_Range := Revision_Range ' First;
	 Release   : Release_Enum := Release_Enum ' First;
      end record;   
   function Version_String (Version : in Version_Record) return String;
   
   Null_Version : constant Version_Record :=
     (Major_Range ' First, Minor_Range ' First, Revision_Range ' First, Release_Enum ' First);
   
   function Integer_Image (Value : in Integer) return String;
   
   
   type Tag_Name is 
     (Null_Tag,
      Universe, Person, Content,  Component, Planning, Event, Activity,  Note, 
      Account, Acc_Line, Deal, Contact, Car, House);
   
end My ;