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

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

package body Music.Barlines is

   -- Constructor for instances.
   function Create
     (Location  : in Location_Enum;  -- The initial location.
      Bar_Style : in Bar_Style_Enum-- The initial bar style.
     return Barline_Access           -- The newly created barline.
   is
      Result : Barline_Access := new Barline;
   begin
      Result.Location := Location;
      Result.Bar_Style := Bar_Style;
      return Result;
   end Create;

   -- Accessor to read the location of a barline.
   function Get_Location
     (This : access Barline-- The barline to read from.
     return Location_Enum is -- The location of that barline.
   begin
      return This.Location;
   end Get_Location;

   -- Accessor to read the bar style of a barline.
   function Get_Bar_Style
     (This : access Barline)  -- The barline to read from.
     return Bar_Style_Enum is -- The bar style of that barline.
   begin
      return This.Bar_Style;
   end Get_Bar_Style;

end Music.Barlines;