Hosted by
|
package body Times is
function Create
(Symbol : in Symbol_Enum := Normal;
Beats : in Positive;
Beat_Type : in Positive;
Senza_Misura : in Boolean)
return Time_Access
is
Result : Time_Access := new Time;
begin
Result.Symbol := Symbol;
Result.Beats := Beats;
Result.Beat_Type := Beat_Type;
Result.Senza_Misura := Senza_Misura;
return Result;
end Create;
function Get_Symbol
(This : access Time)
return Symbol_Enum is
begin
return This.Symbol;
end Get_Symbol;
function Get_Beats
(This : access Time)
return Positive is
begin
return This.Beats;
end Get_Beats;
function Get_Beat_Type
(This : access Time)
return Positive is
begin
return This.Beat_Type;
end Get_Beat_Type;
function Get_Senza_Misura
(This : access Time)
return Boolean is
begin
return This.Senza_Misura;
end Get_Senza_Misura;
end Times;
|