-- $Date: 2004/03/08 11:05:10 $
-- $Revision: 1.2 $
-- $Author: jcrocholl $
-- $Hash: 85f2b10ecd23b3de679f18c238505d17 $

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

package body Music.Forwards is

   -- Constructor for instances.
   function Create
     (Duration : in Positive-- The initial duration.
      Voice    : in Positive-- The initial voice.
      Staff    : in Positive-- The initial staff.
     return Forward_Access    -- The newly created forward.
   is
      Result : Forward_Access := new Forward;
   begin
      Result.Duration := Duration;
      Result.Voice := Voice;
      Result.Staff := Staff;
      return Result;
   end Create;

   -- Accessor to read the duration of a forward.
   function Get_Duration
     (This : access Forward-- The forward to read from.
     return Positive is      -- The duration of that forward.
   begin
      return This.Duration;
   end Get_Duration;

   -- Accessor to read the voice of a forward.
   function Get_Voice
     (This : access Forward-- The forward to read from.
     return Positive is      -- The voice of that forward.
   begin
      return This.Voice;
   end Get_Voice;

   -- Accessor to read the staff of a forward.
   function Get_Staff
     (This : access Forward-- The forward to read from.
     return Positive is      -- The staff of that forward.
   begin
      return This.Staff;
   end Get_Staff;

end Music.Forwards;