Hosted by
|
package body Keys is
function Create
(Fifths : in Integer;
Mode : in Mode_Enum)
return Key_Access
is
Result : Key_Access := new Key;
begin
Result.Fifths := Fifths;
Result.Mode := Mode;
return Result;
end Create;
function Get_Fifths
(This : access Key)
return Integer is
begin
return This.Fifths;
end Get_Fifths;
function Get_Mode
(This : access Key)
return Mode_Enum is
begin
return This.Mode;
end Get_Mode;
end Keys;
|