Hosted by
|
with Ada.Tags; use Ada.Tags;
with Music; use Music;
package Music.Forwards is
type Forward is new Music_Data with private;
Forward_Tag : constant String;
type Forward_Access is access all Forward;
function Create
(Duration : in Positive;
Voice : in Positive;
Staff : in Positive)
return Forward_Access;
function Get_Duration
(This : access Forward)
return Positive;
function Get_Voice
(This : access Forward)
return Positive;
function Get_Staff
(This : access Forward)
return Positive;
private
type Forward is
new Music_Data with
record
Duration : Positive;
Voice : Positive;
Staff : Positive;
end record;
Forward_Tag : constant String := "music.forwards.forward";
end Music.Forwards;
|