-- $Date: 2004/03/08 11:05:10 $
-- $Revision: 1.5 $
-- $Author: jcrocholl $
-- $Hash: 5f32ae110e9c5b6c8bac36436f0dad80 $

-- This file was automatically created with ado.php.
-- Manual changes will be lost when it is updated.

package body Keys is

   -- Constructor for instances.
   function Create
     (Fifths : in Integer;   -- The initial fifths.
      Mode   : in Mode_Enum-- The initial mode.
     return Key_Access       -- The newly created key.
   is
      Result : Key_Access := new Key;
   begin
      Result.Fifths := Fifths;
      Result.Mode := Mode;
      return Result;
   end Create;

   -- Accessor to read the fifths of a key.
   function Get_Fifths
     (This : access Key-- The key to read from.
     return Integer is   -- The fifths of that key.
   begin
      return This.Fifths;
   end Get_Fifths;

   -- Accessor to read the mode of a key.
   function Get_Mode
     (This : access Key-- The key to read from.
     return Mode_Enum is -- The mode of that key.
   begin
      return This.Mode;
   end Get_Mode;

end Keys;