Hosted by
|
package body Notations.Slurs is
function Create
(Slur_Type : in Slur_Type_Enum;
Placement : in Placement_Enum;
Number : in Positive)
return Slur_Access
is
Result : Slur_Access := new Slur;
begin
Result.Slur_Type := Slur_Type;
Result.Placement := Placement;
Result.Number := Number;
return Result;
end Create;
function Get_Slur_Type
(This : access Slur)
return Slur_Type_Enum is
begin
return This.Slur_Type;
end Get_Slur_Type;
function Get_Placement
(This : access Slur)
return Placement_Enum is
begin
return This.Placement;
end Get_Placement;
function Get_Number
(This : access Slur)
return Positive is
begin
return This.Number;
end Get_Number;
end Notations.Slurs;
|