Hosted by
|
with Ada.Tags; use Ada.Tags;
with Music; use Music;
package Music.Backups is
type Backup is new Music_Data with private;
Backup_Tag : constant String;
type Backup_Access is access all Backup;
function Create
(Duration : in Positive)
return Backup_Access;
function Get_Duration
(This : access Backup)
return Positive;
private
type Backup is
new Music_Data with
record
Duration : Positive;
end record;
Backup_Tag : constant String := "music.backups.backup";
end Music.Backups;
|